On Mon, Dec 18, 2017 at 08:44:54AM -0600, Bin Liu wrote:
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, so the babble recovery routine works properly.
c: stable@vger.kernel.org # v3.16+ Signed-off-by: Bin Liu b-liu@ti.com
drivers/usb/musb/da8xx.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-)
Next time, please give me a hint that this was commit bd3486ded7a0c313a6575343e6c2b21d14476645 in Linus's tree so I don't have to dig it out :)
thanks,
greg k-h