WSL2-Linux-Kernel/drivers/extcon
Marek Szyprowski a2dc509147 extcon: max8997: Fix lack of path setting in USB device mode
MAX8997 driver disables automatic path selection from MicroUSB connector
and manually sets path to either UART or USB lines. However the code for
setting USB path worked only for USB host mode (when ID pin is set
to ground). When standard USB cable (USB device mode) is connected, path
registers are not touched. This means that once the non-USB accessory is
connected to MAX8997-operated micro USB port, the path is no longer set
to USB and USB device mode doesn't work. This patch fixes it by setting
USB path both for USB and USB host modes.

Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2018-11-14 09:06:32 +09:00
..
Kconfig extcon: axp288: Set USB role where necessary 2018-03-22 13:49:28 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
devres.c extcon: Correct description to improve the readability 2017-08-16 09:27:55 +09:00
extcon-adc-jack.c extcon: adc-jack: Fix platform_get_irq's error checking 2017-11-27 10:23:47 +09:00
extcon-arizona.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-axp288.c extcon: axp288: Set USB role where necessary 2018-03-22 13:49:28 +01:00
extcon-gpio.c extcon: gpio: Convert to fully use GPIO descriptor 2018-03-21 13:58:09 +09:00
extcon-intel-cht-wc.c extcon: cht-wc: Convert to use SPDX identifier 2018-08-28 11:21:15 +09:00
extcon-intel-int3496.c extcon: int3496: Convert to use SPDX identifier 2018-08-28 11:21:15 +09:00
extcon-max3355.c extcon: max3355: include mod_devicetable.h 2018-07-11 18:17:56 +02:00
extcon-max8997.c extcon: max8997: Fix lack of path setting in USB device mode 2018-11-14 09:06:32 +09:00
extcon-max14577.c extcon: max14577: Avoid forcing UART path on drive probe 2018-11-12 09:17:13 +09:00
extcon-max77693.c extcon: max77693: Avoid forcing UART path on drive probe 2018-11-12 09:17:13 +09:00
extcon-max77843.c extcon: max77843: Avoid forcing UART path on drive probe 2018-11-12 09:17:13 +09:00
extcon-palmas.c extcon: palmas: Don't miss GPIO events during suspend/resume 2017-04-06 10:55:22 +09:00
extcon-qcom-spmi-misc.c headers: separate linux/mod_devicetable.h from linux/platform_device.h 2018-07-07 17:52:26 +02:00
extcon-rt8973a.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-rt8973a.h extcon: rt8973a: Add Richtek RT8973A extcon driver 2014-09-22 11:43:08 +09:00
extcon-sm5502.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-sm5502.h extcon: sm5502: Move sm5502.h header file to extcon directory 2014-09-22 11:43:08 +09:00
extcon-usb-gpio.c extcon: Split out extcon header file for consumer and provider device 2017-10-23 14:07:58 +09:00
extcon-usbc-cros-ec.c extcon: usbc-cros-ec: Switch to SPDX identifier. 2018-07-12 09:06:31 +09:00
extcon.c extcon: Switch to use kasprintf() instead of open coded 2018-08-28 11:21:14 +09:00
extcon.h USB/PHY patches for 4.15-rc1 2017-11-13 21:14:07 -08:00