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)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:02 +0000 (14:47 -0500)
commitcac6e02a68ce8e08d7a4e4682012befcaa388af4
tree6a81f7388ed7d975a949e06b97407f311fc2f0d4
parent5852d127e6be23c55e6bba5c922432c1a3b33afe
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>
(cherry picked from commit eb7c192ce6ce077471dfdcdc4eb6cc9da4a7c01a)
drivers/usb/chipidea/udc.c