Skip to content
Commit fd7d4748 authored by Samuel Holland's avatar Samuel Holland Committed by Vinod Koul
Browse files

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: 6a98df08 ("phy: rockchip-inno-usb2: Fix muxed interrupt support")
Reported-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Tested-by: default avatarPeter Geis <pgwipeout@gmail.com>
Tested-by: default avatarFrank Wunderlich <frank-w@public-files.de>
Link: https://lore.kernel.org/r/20220708061434.38115-1-samuel@sholland.org


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 38b6dbcc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment