diff options
| author | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-05-03 15:10:25 +0530 |
|---|---|---|
| committer | Ashay Jaiswal <ashayj@codeaurora.org> | 2017-05-12 16:45:10 +0530 |
| commit | 0038058ab415003032243f741625c811c4f67e3e (patch) | |
| tree | adf0b202534d2b45cc4dbfc11dd76cf2c9066b42 /net/unix/af_unix.c | |
| parent | ae4d972f07f97de9a368a33820a7fe38284498c2 (diff) | |
qpnp-smb2: Add software based glitch filter for OTG detection
When the USB_ID line is pulled low for a very short time there is a
possibility that the SW misses rising edge(removal) event. This may
lead to the state where charger is stuck in the boost-mode forever.
Fix this my adding a SW based glitch logic which checks for the
USB_ID after a SW debounce time and then notifies its presence/removal to
the USB driver.
CRs-Fixed: 2044958
Change-Id: I31974f7d68b435bbef329278cedbd726ada02e3f
Signed-off-by: Ashay Jaiswal <ashayj@codeaurora.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
