MLK-11147 usb: chipidea: otg: keep irq enabled if otg work had been queued
authorLi Jun <jun.li@freescale.com>
Tue, 23 Jun 2015 02:46:44 +0000 (10:46 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:47:17 +0000 (14:47 -0500)
commitf018668bd57c67441246b59bddd4986f249e4351
tree147ddfe6612467c9095a3b733c427cfb273e3a46
parenta4a6a63dab133da3f156cb773be98a603d6da558
MLK-11147 usb: chipidea: otg: keep irq enabled if otg work had been queued

If the otg work had been queued, current code will disable irq again
but the otg work will be done only once, so the irq enable and disable
cannot be balanced, this patch is to fix this.

Signed-off-by: Li Jun <b47624@freescale.com>
(cherry picked from commit 0d5c0888eaec17289e40968d7d15b92b781ed34f)
drivers/usb/chipidea/otg.h