]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: Add typec_find_orientation()
authorHeikki Krogerus <heikki.krogerus@linux.intel.com>
Thu, 7 May 2020 15:08:57 +0000 (18:08 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 May 2020 12:20:49 +0000 (14:20 +0200)
commit6925e279ccac4f7e6417649af005fc98506b94be
tree6b8080f1a112cff6d558788867b0b4b4800a6176
parent2fd467d476d17e7965d23aacaf7468a94e435c7a
usb: typec: Add typec_find_orientation()

Function that converts orientation string into orientation
value.

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