WSL2-Linux-Kernel/drivers/usb/mtu3
Arnd Bergmann 3d54d10c6a usb: mtu3: fix EXTCON dependency
When EXTCON is a loadable module, mtu3 fails to link as built-in:

drivers/usb/mtu3/mtu3_plat.o: In function `mtu3_probe':
mtu3_plat.c:(.text+0x690): undefined reference to `extcon_get_edev_by_phandle'

Add a Kconfig dependency to force mtu3 also to be a loadable module
if extconn is, but still allow it to be built without extcon.

Fixes: d0ed062a8b ("usb: mtu3: dual-role mode support")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2019-03-26 16:48:56 +09:00
..
Kconfig usb: mtu3: fix EXTCON dependency 2019-03-26 16:48:56 +09:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
mtu3.h usb: mtu3: fix warning of sleep in atomic context in notifier callback 2018-05-24 18:09:37 +02:00
mtu3_core.c usb: mtu3: clear SOFTCONN when clear USB3_EN if work as HS mode 2018-12-05 11:12:28 +02:00
mtu3_dr.c USB: mtu3: no need to check return value of debugfs_create_dir() 2018-05-31 12:54:21 +02:00
mtu3_dr.h usb: mtu3: fix ssusb_wakeup_set dummy 2018-01-16 10:01:01 +01:00
mtu3_gadget.c usb: mtu3: disable vbus rise/fall interrupts of ltssm 2018-09-10 20:09:09 +02:00
mtu3_gadget_ep0.c usb: mtu3: enable SETUPENDISR interrupt 2018-12-05 11:12:25 +02:00
mtu3_host.c usb: mtu3: fix semicolon.cocci warnings 2018-01-16 10:01:01 +01:00
mtu3_hw_regs.h usb: mtu3: clear SOFTCONN when clear USB3_EN if work as HS mode 2018-12-05 11:12:28 +02:00
mtu3_plat.c usb/mtu3: power down device ip at setup 2018-12-05 11:12:02 +02:00
mtu3_qmu.c usb: mtu3: fix dbginfo in qmu_tx_zlp_error_handler 2018-12-07 07:58:28 +02:00
mtu3_qmu.h USB: mtu3: Remove redundant license text 2017-11-07 15:45:01 +01:00