diff options
author | Bin Liu <b-liu@ti.com> | 2017-12-05 17:45:30 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-08 19:31:20 +0300 |
commit | bd3486ded7a0c313a6575343e6c2b21d14476645 (patch) | |
tree | 0b4c5720898f66ca2ffc011484b8029ea75ce7ac /drivers/usb/musb/omap2430.c | |
parent | 6b0b3bda3d77c35fa9cf20067c0b62daff98c042 (diff) | |
download | linux-bd3486ded7a0c313a6575343e6c2b21d14476645.tar.xz |
usb: musb: da8xx: fix babble condition handling
When babble condition happens, the musb controller might automatically
turns off VBUS. On DA8xx platform, the controller generates drvvbus
interrupt for turning off VBUS along with the babble interrupt.
In this case, we should handle the babble interrupt first and recover
from the babble condition.
This change ignores the drvvbus interrupt if babble interrupt is also
generated at the same time, so the babble recovery routine works
properly.
Cc: stable@vger.kernel.org # v3.16+
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
0 files changed, 0 insertions, 0 deletions