Skip to content
Commit b7d2d5be authored by George Cherian's avatar George Cherian Committed by Chanwoo Choi
Browse files

extcon: palmas: Handle ID interrupt properly using USB_ID_INT_SRC



Always cross check with the ID state and the source of interrupt.
Also add a case in which ID Source is ID_GND but LATCH state is set
wrongly. This uses the previous Link stat to determine the new state.

Signed-off-by: default avatarGeorge Cherian <george.cherian@ti.com>
Acked-by: default avatarLaxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: default avatarChanwoo Choi <cw00.choi@samsung.com>
parent 5fbc77d6
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