aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/common/debug.c
diff options
context:
space:
mode:
authorKyle Tso <[email protected]>2020-07-14 11:34:53 +0800
committerGreg Kroah-Hartman <[email protected]>2020-07-21 13:38:21 +0200
commitd25d61be6bed44d3a5b7050836e6df602bf3d6ba (patch)
treec2c93906ea60f2fee315875c6353a42ffe6bcac4 /drivers/usb/common/debug.c
parent1401bfe058d3ccf8867e9faf77744900c305e74e (diff)
usb: typec: tcpm: Error handling for tcpm_register_partner_altmodes
typec_partner_register_altmode returns ERR_PTR. Reset the pointer altmode to NULL on failure. Signed-off-by: Kyle Tso <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/common/debug.c')
0 files changed, 0 insertions, 0 deletions