commit | b7d2d5be3c910fddd19cafa0861016712c665168 | [log] [tgz] |
---|---|---|
author | George Cherian <george.cherian@ti.com> | Fri Oct 11 00:18:39 2013 +0530 |
committer | Chanwoo Choi <cw00.choi@samsung.com> | Tue Jan 07 11:54:27 2014 +0900 |
tree | fa1d11ccb1e00760732306e191d56ca5dbc5f885 | |
parent | 5fbc77d6ebd0ab801273085bbf98fdaa66054ad8 [diff] |
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: George Cherian <george.cherian@ti.com> Acked-by: Laxman Dewangan <ldewangan@nvidia.com> Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>