diff options
author | Peter Chen <peter.chen@freescale.com> | 2013-11-14 01:38:20 -0500 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-04-16 09:47:13 -0400 |
commit | 3023b4baecffba0a41e5fdb432de1f4dfcd31696 (patch) | |
tree | 9594dc947bd27d3d4f271166408ceef200cb4673 /net | |
parent | cdf2ce6f2566500024e23b129f64c5c90cbac130 (diff) |
ENGR00287992-4 usb: chipidea: Add usb charger detect notify
- Change .notify's return value from void to int.
- Add CI_HDRC_CONTROLLER_CHARGER_EVENT and
CI_HDRC_CONTROLLER_CHARGER_POST_EVENT to finish the USB charger
detection flow.
- Add usb_gadget_vbus_connect for only notify udc when vbus
is on, the main reason we add it is we don't want the first
notification when the vbus is off, it causes the
dev->power.usage_count equals -1 when do charger detection.
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions