diff options
author | Roger Quadros <rogerq@ti.com> | 2016-06-15 11:12:05 +0300 |
---|---|---|
committer | Chanwoo Choi <cw00.choi@samsung.com> | 2016-06-15 17:17:22 +0900 |
commit | 62e6d1e59c77316768a663d1328390b4cd33801f (patch) | |
tree | 75aa6cb0cf756484b8516b01e8a1200606a60fe6 /crypto/anubis.c | |
parent | af8c34ce6ae32addda3788d54a7e340cad22516b (diff) | |
download | op-kernel-dev-62e6d1e59c77316768a663d1328390b4cd33801f.zip op-kernel-dev-62e6d1e59c77316768a663d1328390b4cd33801f.tar.gz |
extcon: palmas: Fix boot up state of VBUS when using GPIO detection
If USB cable is connected prior to boot, we don't get any interrupts
so we must manually check the VBUS state and report it during probe.
If we don't do it then USB controller will never know that peripheral
cable was connected till the user unplugs and replugs the cable.
Fixes: b7aad8e2685b ("extcon: palmas: Add the support for VBUS detection by using GPIO")
Cc: stable@vger.kernel.org
Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Diffstat (limited to 'crypto/anubis.c')
0 files changed, 0 insertions, 0 deletions