Skip to content
Commit f05a88a3 authored by Jason Hrycay's avatar Jason Hrycay Committed by Greg Kroah-Hartman
Browse files

staging: greybus: add host device function pointer checks



Add sanity checks for cport_quiesce and cport_clear before invoking the
callbacks as these function pointers are not required during the host
device registration. This follows the logic implemented elsewhere for
various other function pointers.

Signed-off-by: default avatarJason Hrycay <jhrycay@gmail.com>
Reviewed-by: default avatarBryan O'Donoghue <pure.logic@nexus-software.ie>
Acked-by: default avatarJohan Hovold <johan@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a072a72d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment