commit | 5671a4608c326b8ec16dec2f0f32e64a33cdd317 | [log] [tgz] |
---|---|---|
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | Mon Apr 30 15:41:56 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 03 10:55:27 2018 -0700 |
tree | 24b7a3d4699f809e4b077011cd4ed1453497361a | |
parent | fb5ee84ea72c5f1b6cabdd1c9d6e8648995ca7c6 [diff] |
usb: typec: tcpm: Release the role mux when exiting The ref count for the USB role switch device must be released after we are done using the switch. Fixes: c6962c29729c ("usb: typec: tcpm: Set USB role switch to device mode when configured as such") Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>