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
mtu3.h
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
mtu3_dr.h
mtu3_gadget.c
mtu3_gadget_ep0.c usb: mtu3: enable SETUPENDISR interrupt 2018-12-05 11:12:25 +02:00
mtu3_host.c
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
mtu3_qmu.c usb: mtu3: fix dbginfo in qmu_tx_zlp_error_handler 2018-12-07 07:58:28 +02:00
mtu3_qmu.h