linux/drivers/usb/typec
Li Jun 302c570bf3 usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs
John reported screaming irq caused by rt1711h when system boot[1],
this is because irq request is done before tcpci_register_port(),
so the chip->tcpci has not been setup, irq handler is entered but
can't do anything, this patch is to address this by moving the irq
request after tcpci_register_port().

[1] https://lore.kernel.org/linux-usb/20200530040157.31038-1-john.stultz@linaro.org

Fixes: ce08eaeb63 ("staging: typec: rt1711h typec chip driver")
Cc: stable <stable@vger.kernel.org> # v4.18+
Cc: John Stultz <john.stultz@linaro.org>
Reported-and-tested-by: John Stultz <john.stultz@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Li Jun <jun.li@nxp.com>
Link: https://lore.kernel.org/r/20200604112118.38062-1-jun.li@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-06-18 10:42:53 +02:00
..
altmodes usb: typec: Add parameter for the VDO to typec_altmode_enter() 2020-01-09 10:48:19 +01:00
mux usb: typec: mux: intel_pmc_mux: Fix DP alternate mode entry 2020-06-18 10:40:57 +02:00
tcpm usb: typec: tcpci_rt1711h: avoid screaming irq causing boot hangs 2020-06-18 10:42:53 +02:00
ucsi usb: typec: ucsi: Fix the stub for ucsi_register_port_psy() 2020-04-27 13:41:45 +02:00
bus.c usb: typec: altmode: Fix typec_altmode_get_partner sometimes returning an invalid pointer 2020-04-22 19:23:19 +02:00
bus.h usb: typec: altmode: Remove the notification chain 2020-02-12 10:51:21 -08:00
class.c usb: typec: Add typec_find_orientation() 2020-05-13 14:20:49 +02:00
hd3ss3220.c usb: typec: hd3ss3220: Give the connector fwnode to the port device 2019-11-04 16:03:36 +01:00
Kconfig usb: typec: Ensure USB_ROLE_SWITCH is set as a dependency for tps6598x 2020-05-21 09:36:42 +02:00
Makefile usb: typec: driver for TI HD3SS3220 USB Type-C DRP port controller 2019-10-04 14:18:48 +02:00
mux.c usb: typec: mux: Allow the mux handles to be requested with fwnode 2020-03-04 11:12:49 +01:00
tps6598x.c usb: typec: tps6598x: Add USB role switching logic 2020-05-13 14:23:25 +02:00