linux-xiaomi-chiron/include/linux/usb
Stephen Boyd a89b94b533 usb: chipidea: Handle extcon events properly
We're currently emulating the vbus and id interrupts in the OTGSC
read API, but we also need to make sure that if we're handling
the events with extcon that we don't enable the interrupts for
those events in the hardware. Therefore, properly emulate this
register if we're using extcon, but don't enable the interrupts.
This allows me to get my cable connect/disconnect working
properly without getting spurious interrupts on my device that
uses an extcon for these two events.

Acked-by: Peter Chen <peter.chen@nxp.com>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: "Ivan T. Ivanov" <iivanov.xz@gmail.com>
Fixes: 3ecb3e09b0 ("usb: chipidea: Use extcon framework for VBUS and ID detect")
Signed-off-by: Stephen Boyd <stephen.boyd@linaro.org>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
2017-01-20 11:24:35 +08:00
..
association.h
atmel_usba_udc.h
audio-v2.h
audio.h
c67x00.h
cdc-wdm.h
cdc.h
cdc_ncm.h NET: usb: cdc_mbim: add quirk for supporting Telit LE922A 2016-12-08 13:02:25 -05:00
ch9.h
chipidea.h usb: chipidea: Handle extcon events properly 2017-01-20 11:24:35 +08:00
composite.h usb: gadget: composite: let USB functions process ctrl reqs in cfg0 2016-08-25 12:13:17 +03:00
ehci-dbgp.h
ehci_def.h USB: EHCI: declare hostpc register as zero-length array 2016-06-24 17:03:12 -07:00
ehci_pdriver.h
ezusb.h
functionfs.h
g_hid.h
gadget.h usb: gadget: fix request length error for isoc transfer 2016-11-18 13:54:09 +02:00
gadget_configfs.h
gpio_vbus.h
hcd.h usb: hcd.h: construct hub class request constants from simpler constants 2016-12-05 16:37:10 +01:00
input.h
iowarrior.h
irda.h
isp116x.h
isp1301.h
isp1362.h
isp1760.h
m66592.h
msm_hsusb_hw.h usb: host: ehci-msm: Allow LS devices to work 2016-01-24 20:51:18 -08:00
musb-ux500.h
musb.h usb: musb: Return error value from musb_mailbox 2016-06-01 14:58:59 -07:00
net2280.h
of.h USB: Fix of_usb_get_dr_mode_by_phy with a shared phy block 2016-06-21 10:52:39 +03:00
ohci_pdriver.h
otg-fsm.h usb: otg-fsm: support multiple instances 2016-04-06 17:15:03 +08:00
otg.h
phy.h
phy_companion.h
quirks.h USB: add quirk for devices with broken LPM 2015-12-11 15:40:51 -08:00
r8a66597.h
renesas_usbhs.h usb: renesas_usbhs: add R-Car Gen3 power control 2016-03-04 15:14:28 +02:00
rndis_host.h
samsung_usb_phy.h
serial.h
sl811.h
storage.h usb/storage: misc fixes to comments in include/linux/usb/storage.h 2016-02-03 13:48:12 -08:00
tegra_usb_phy.h
tilegx.h
uas.h
ulpi.h
usb338x.h
usb_phy_generic.h
usbnet.h
wusb-wa.h
wusb.h