MLK-10718 usb: chipidea: udc: disable BSV irq when otg from undefined to a_idle
authorLi Jun <jun.li@freescale.com>
Tue, 28 Apr 2015 06:41:36 +0000 (14:41 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:06 +0000 (14:47 -0500)
commite63cb9dadd5979e45805333427aaf97fad2dfa89
treee77f50846fc6e3c80e7f9294b9f153e2bf243e6b
parent19c37028c2864f0f539213affe222ba78b27656b
MLK-10718 usb: chipidea: udc: disable BSV irq when otg from undefined to a_idle

After device power up, insert usb OTG ID cable, otg fsm from undefined state
to a_idle, the BSV cannot be disabled, this will result BSV irq generated but
which is actually only for B device.

Signed-off-by: Li Jun <jun.li@freescale.com>
(cherry picked from commit bf6a1cdaef68125cc10240f174019e2646ebaa24)
drivers/usb/chipidea/udc.c