aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/core.c
diff options
context:
space:
mode:
authorHeikki Krogerus <[email protected]>2020-03-02 13:53:46 +0000
committerGreg Kroah-Hartman <[email protected]>2020-03-04 10:11:52 +0000
commit774a9df6aeac236282dc0ec711b73865b64ef6a1 (patch)
treeabfc37c5004516b465bc0a90aa507ca1213c1fea /drivers/usb/cdns3/core.c
parentusb: typec: mux: Allow the muxes to be named (diff)
downloadkernel-774a9df6aeac236282dc0ec711b73865b64ef6a1.tar.gz
kernel-774a9df6aeac236282dc0ec711b73865b64ef6a1.zip
usb: typec: mux: Add helpers for setting the mux state
Adding helpers typec_switch_set() and typec_mux_set() that simply call the ->set callback function of the mux. These functions make it possible to set the mux states also from outside the class code. Signed-off-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/core.c')
0 files changed, 0 insertions, 0 deletions