[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140718165044.GA30821@saruman.home>
Date: Fri, 18 Jul 2014 11:50:44 -0500
From: Felipe Balbi <balbi@...com>
To: Ezequiel Garcia <ezequiel@...guardiasur.com.ar>
CC: Lothar Waßmann <LW@...O-electronics.de>,
Felipe Balbi <balbi@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
<linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>,
George Cherian <george.cherian@...com>,
<linux-arm-kernel@...ts.infradead.org>,
Roger Quadros <rogerq@...com>
Subject: Re: [PATCH 0/9] usb: musb: several bugfixes for the musb driver
Hi,
On Fri, Jul 18, 2014 at 01:16:36PM -0300, Ezequiel Garcia wrote:
> Hi Lothar,
>
> On 18 Jul 11:31 AM, Lothar Waßmann wrote:
> > The first three patches do some source code cleanup in the files that
> > are modified in the subsequent patches.
> >
>
> I've applied patches 4 and 9 on a recent -next, after fixing a conflict
> due to patch 3 ("usb: musb_am335x: source cleanup"):
>
> > Patch 4 carries the proper fix reported in commit:
> > 7adb5c876e9c ("usb: musb: Fix panic upon musb_am335x module removal")
> >
> > Patch 9 reinstates module unloading support for the musb_am335x driver
> > which was disabled due to a false failure analysis
> >
>
> For these two patches, Tested-by: Ezequiel Garcia <ezequiel@...guardiasur.com.ar>
>
> Tested on a beaglebone with a mass storage USB device, module load/unload
> works without issues. The module_get/put in the phy is now preventing the
> musb_am335x driver unload, which seems to be the real cause of the issue
> I reported. Thanks for providing a proper fix!
I don't that's a good fix. The problem is that even after am335x
removing all its child, someone else tried to release the PHY. That
ordering is the one that needs to be fixed. Doing a module_get on the
parent device looks like a hack to me.
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (820 bytes)
Powered by blists - more mailing lists