linux/drivers/usb/typec
Sing-Han Chen 825911492e ucsi_ccg: Check DEV_INT bit only when starting CCG4
CCGx clears Bit 0:Device Interrupt in the INTR_REG
if CCGx is reset successfully. However, there might
be a chance that other bits in INTR_REG are not
cleared due to internal data queued in PPM. This case
misleads the driver that CCGx reset failed.

The commit checks bit 0 in INTR_REG and ignores other
bits. The ucsi driver would reset PPM later.

Fixes: 247c554a14 ("usb: typec: ucsi: add support for Cypress CCGx")
Cc: stable@vger.kernel.org
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Signed-off-by: Sing-Han Chen <singhanc@nvidia.com>
Signed-off-by: Wayne Chang <waynec@nvidia.com>
Link: https://lore.kernel.org/r/20220112094143.628610-1-waynec@nvidia.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-01-26 13:41:19 +01:00
..
altmodes usb: typec: altmodes/displayport: Notify drm subsys of hotplug events 2021-08-20 12:35:59 +02:00
mux Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
tcpm usb: typec: tcpm: Do not disconnect when receiving VSAFE0V 2022-01-25 18:41:18 +01:00
tipd usb: typec: tipd: Fix initialization sequence for cd321x 2021-11-23 14:08:08 +01:00
ucsi ucsi_ccg: Check DEV_INT bit only when starting CCG4 2022-01-26 13:41:19 +01:00
bus.c bus: Make remove callback return void 2021-07-21 11:53:42 +02:00
bus.h usb: typec: Organize the private headers properly 2021-04-05 09:07:41 +02:00
class.c usb: typec: port-mapper: Convert to the component framework 2021-12-30 12:13:04 +01:00
class.h usb: typec: port-mapper: Convert to the component framework 2021-12-30 12:13:04 +01:00
hd3ss3220.c usb: typec: hd3ss3220: Use regmap_write_bits() 2021-09-14 10:12:06 +02:00
Kconfig usb: typec: STUSB160X should select REGMAP_I2C 2021-10-18 17:07:28 +02:00
Makefile usb: typec: port-mapper: Convert to the component framework 2021-12-30 12:13:04 +01:00
mux.c Linux 5.13-rc6 2021-06-14 09:18:07 +02:00
mux.h usb: typec: mux: Use device type instead of device name for matching 2021-05-27 09:23:57 +02:00
port-mapper.c usb: typec: Don't try to register component master without components 2022-01-25 18:37:35 +01:00
qcom-pmic-typec.c usb: typec: Add QCOM PMIC typec detection driver 2020-10-09 15:14:43 +02:00
stusb160x.c usb: typec: stusb160x: Don't block probing of consumer of "connector" nodes 2021-07-21 09:16:40 +02:00