diff options
author | Bin Liu <b-liu@ti.com> | 2017-12-05 08:45:30 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-12-20 10:07:32 +0100 |
commit | afeeff4d6156b4965af9cf30ba05b05f04b9c7b0 (patch) | |
tree | 7b9b58ac65ffc60bb66eb417d836dc4c2184675f /arch/blackfin | |
parent | 92ad6c13e17ebea6175b978dc0f5b485e7e68cf1 (diff) |
usb: musb: da8xx: fix babble condition handling
commit bd3486ded7a0c313a6575343e6c2b21d14476645 upstream.
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.
Signed-off-by: Bin Liu <b-liu@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/blackfin')
0 files changed, 0 insertions, 0 deletions