linux/drivers/phy/rockchip
Samuel Holland fd7d474841 phy: rockchip-inno-usb2: Ignore OTG IRQs in host mode
When the OTG port is fixed to host mode, the driver does not request its
IRQs, nor does it enable those IRQs in hardware. Similarly, the driver
should ignore the OTG port IRQs when handling the shared interrupt.

Otherwise, it would update the extcon based on an ID pin which may be in
an undefined state, or try to queue a uninitialized work item.

Fixes: 6a98df08cc ("phy: rockchip-inno-usb2: Fix muxed interrupt support")
Reported-by: Frank Wunderlich <frank-w@public-files.de>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Tested-by: Peter Geis <pgwipeout@gmail.com>
Tested-by: Frank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20220708061434.38115-1-samuel@sholland.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2022-07-15 17:20:04 +05:30
..
Kconfig phy: rockchip: add naneng combo phy for RK3568 2022-02-24 20:13:52 +05:30
Makefile phy: rockchip: add naneng combo phy for RK3568 2022-02-24 20:13:52 +05:30
phy-rockchip-dp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
phy-rockchip-dphy-rx0.c phy/rockchip: Use of_device_get_match_data() 2022-04-13 15:23:23 +05:30
phy-rockchip-emmc.c phy: rockchip: emmc, add vendor prefix to dts properties 2021-01-13 17:28:24 +05:30
phy-rockchip-inno-csidphy.c phy/rockchip: add Innosilicon-based CSI dphy 2021-06-21 09:26:13 +05:30
phy-rockchip-inno-dsidphy.c phy: dphy: Correct clk_pre parameter 2022-02-02 10:33:04 +05:30
phy-rockchip-inno-hdmi.c phy: rockchip: remove redundant initialization of pointer cfg 2021-06-21 09:22:37 +05:30
phy-rockchip-inno-usb2.c phy: rockchip-inno-usb2: Ignore OTG IRQs in host mode 2022-07-15 17:20:04 +05:30
phy-rockchip-naneng-combphy.c phy: rockchip: add naneng combo phy for RK3568 2022-02-24 20:13:52 +05:30
phy-rockchip-pcie.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00
phy-rockchip-typec.c phy/rockchip: Use of_device_get_match_data() 2022-04-13 15:23:23 +05:30
phy-rockchip-usb.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 235 2019-06-19 17:09:07 +02:00