From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.linuxfoundation.org ([140.211.169.12]:53152 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933181AbdLRPQa (ORCPT ); Mon, 18 Dec 2017 10:16:30 -0500 Date: Mon, 18 Dec 2017 16:16:33 +0100 From: Greg Kroah-Hartman To: Bin Liu Cc: stable@vger.kernel.org Subject: Re: [PATCH] usb: musb: da8xx: fix babble condition handling Message-ID: <20171218151633.GA27930@kroah.com> References: <15135972726154@kroah.com> <1513608294-1488-1-git-send-email-b-liu@ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1513608294-1488-1-git-send-email-b-liu@ti.com> Sender: stable-owner@vger.kernel.org List-ID: 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 > --- > 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