]> git.baikalelectronics.ru Git - kernel.git/commit
usb: typec: intel_pmc_mux: Un-register the USB role switch
authorMadhusudanarao Amara <madhusudanarao.amara@intel.com>
Tue, 25 Aug 2020 18:38:11 +0000 (00:08 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 4 Sep 2020 14:41:22 +0000 (16:41 +0200)
commit749795a0185a613d0e6ee142a95f95d53de540f9
tree1ad67fd0cf8496fa798be59e252706fae202e265
parent693b360c1ed81d288bcb3786c4e0b911d78ab43f
usb: typec: intel_pmc_mux: Un-register the USB role switch

Added missing code for un-register USB role switch in the remove and
error path.

Cc: Stable <stable@vger.kernel.org> # v5.8
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Fixes: d5ff695459248 ("usb: typec: driver for Intel PMC mux control")
Signed-off-by: Madhusudanarao Amara <madhusudanarao.amara@intel.com>
Link: https://lore.kernel.org/r/20200825183811.7262-1-madhusudanarao.amara@intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/typec/mux/intel_pmc_mux.c