USB: OTG: msm: schedule the work only in case of otg interrupts.
Irq line is shared between otg, host and device controller drivers.
Currently otg driver is scheduling the work, if the interrupt is not
intended for otg driver.(there are special cases like BSVIE is disabled,
but still BSVIS will get set and upon any interrupt otg driver is
scheduling the work). Hence schedule the work only if the interrupt is
intended for otg driver.
Change-Id: Ib9019e80fca3699cc10c191fd2831e445970dd7f
Signed-off-by:
Anji jonnala <anjir@codeaurora.org>
Loading
Please register or sign in to comment