diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2020-03-02 16:53:46 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-03-04 11:11:52 +0100 |
commit | 774a9df6aeac236282dc0ec711b73865b64ef6a1 (patch) | |
tree | abfc37c5004516b465bc0a90aa507ca1213c1fea /Kconfig | |
parent | ef441dd6af91e1f4265e890021ac3ad631b2b10e (diff) | |
download | linux-774a9df6aeac236282dc0ec711b73865b64ef6a1.tar.bz2 |
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 <heikki.krogerus@linux.intel.com>
Link: https://lore.kernel.org/r/20200302135353.56659-3-heikki.krogerus@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions