]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
usb: typec: function for checking cable plug orientation
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Wed, 27 Jun 2018 15:19:47 +0000 (18:19 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 10:52:07 +0000 (19:52 +0900)
commitaaf3f4e925dc2bdc4715142103660285632a245c
tree04c85a7cf31c9c7977edb2c988bc299222318dff
parent82f5d7749fa4f3851f705c75b33babf68edb90b8
usb: typec: function for checking cable plug orientation

This adds function typec_get_orientation() that can be used
for checking the current cable plug orientation.

Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/class.c
include/linux/usb/typec.h