aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/typec/class.c
diff options
context:
space:
mode:
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>2019-02-13 19:36:55 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-02-14 10:48:44 +0100
commita043ad87a78f9cfb5ccd80f448e4e76b50546ad2 (patch)
treec00689312b38fd520d8f924b0832261a144334ca /drivers/usb/typec/class.c
parentusb: typec: tcpm: Remove unused functions (diff)
downloadwireguard-linux-a043ad87a78f9cfb5ccd80f448e4e76b50546ad2.tar.xz
wireguard-linux-a043ad87a78f9cfb5ccd80f448e4e76b50546ad2.zip
usb: typec: tps6598x: Check mode of operation
To prevent loading of the driver when the PD controller is still in some operational mode that the driver does not support, checking the mode in driver probe callback function. TI PD controllers may be in undefined mode of operation for example when the application code (firmware) is completely missing. Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/typec/class.c')
0 files changed, 0 insertions, 0 deletions