diff options
author | Tomoya MORINAGA <[email protected]> | 2012-02-03 16:14:18 +0900 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2012-02-09 09:58:48 +0200 |
commit | 637b78eb31e0b167ed913f1750bb645dfeda38f0 (patch) | |
tree | 9496e1f2489bedef09c523bd0f0f0f960e553014 /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | dd63180b758d5972fc90621af0741d5bfae1a684 (diff) |
usb: gadget: pch_udc: Detecting VBUS through GPIO with interrupt
Problem:
pch_udc continues operation even if VBUS becomes Low.
pch_udc performs D+ pulling up before VBUS becomes High.
USB device should be controlled according to VBUS state.
Root cause:
The current pch_udc is not always monitoring VBUS.
Solution:
The change of VBUS is detected using an interrupt of GPIO.
If VBUS became Low, pch_udc handles 'disconnect'.
After VBUS became High, a pull improves D+, and pch_udc
handles 'connect'.
[ [email protected] : make it actually compile ]
Signed-off-by: Tomoya MORINAGA <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions