]> git.karo-electronics.de Git - karo-tx-linux.git/commit
MLK-10101-3 usb: chipidea: otg: enable BSV irq when OTG B-device in host mode
authorLi Jun <jun.li@freescale.com>
Tue, 27 Jan 2015 07:01:57 +0000 (15:01 +0800)
committerLi Jun <jun.li@freescale.com>
Wed, 28 Jan 2015 03:08:36 +0000 (11:08 +0800)
commit861497c86217c403ec075ad209ca16b35949c942
treecff2c05cad99dc1ad82e3650fae2f4efb479af01
parentc7c554fdcd714d0a858e12d7bdca316c509c1197
MLK-10101-3 usb: chipidea: otg: enable BSV irq when OTG B-device in host mode

When B-device in host mode, if Vbus is off by A-device or A-device is removed,
B-device should update charger status correctly. This patch enables BSV irq
for B-device in all states, so the charger connection and removal can be early
handled by BSV change irq.

Signed-off-by: Li Jun <jun.li@freescale.com>
drivers/usb/chipidea/udc.c