diff options
author | Jing Xiangfeng <jingxiangfeng@huawei.com> | 2021-06-17 15:32:26 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-06-17 15:39:33 +0200 |
commit | 03026197bb657d784220b040c6173267a0375741 (patch) | |
tree | 8937a8bac7d684384bab3e0aebc6988d0780328a /drivers/pci/controller/pci-aardvark.c | |
parent | 2b537cf877eae6d2f2f102052290676e40b74a1d (diff) | |
download | linux-03026197bb657d784220b040c6173267a0375741.tar.bz2 |
usb: typec: Add the missed altmode_id_remove() in typec_register_altmode()
typec_register_altmode() misses to call altmode_id_remove() in an error
path. Add the missed function call to fix it.
Fixes: 8a37d87d72f0 ("usb: typec: Bus type for alternate modes")
Cc: stable <stable@vger.kernel.org>
Acked-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Jing Xiangfeng <jingxiangfeng@huawei.com>
Link: https://lore.kernel.org/r/20210617073226.47599-1-jingxiangfeng@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pci/controller/pci-aardvark.c')
0 files changed, 0 insertions, 0 deletions