[PATCH] usb: gadget: s3c-hsotg: fix kernel panic

Felipe Balbi balbi at ti.com
Wed Mar 21 09:56:23 UTC 2012


Hi,
On Mon, Mar 19, 2012 at 05:52:08PM +0100, Lukasz Majewski wrote:
> On Fri, 16 Mar 2012 13:35:20 +0000
> Sangwook Lee <sangwook.lee at linaro.org> wrote:
> 
> > Fix kernel panic from s3c_hsotg_udc_stop.
> > if udc_is_newstyle is true, s3c_hsotg_udc_stop should not
> > call disconnect, unbind.
> > 
> > As running rmmod g_mass_storage, kernel panic happens.
> > 
> > (composite_unbind+0x14/0x164 [g_mass_storage])
> > from [<c023e950>] (s3c_hsotg_udc_stop)
> > 
> > This patch is based on Lukasz Majewski's patches:
> > [PATCH 0/9] USB: s3c-hsotg: USB S3C-HSOTG driver fixes and code cleanu
> > 
> > in order to test g_mass_storage in Origen board:
> > 
> > Signed-off-by: Sangwook Lee <sangwook.lee at linaro.org>
> > ---
> >  drivers/usb/gadget/s3c-hsotg.c |   12 ++++++------
> >  1 files changed, 6 insertions(+), 6 deletions(-)
> > 
> 
> Hi Sangwook,
> 
> Test HW: GONI S5PV210 
> module: g_ether.ko
> 
> Yes, this patch works. Thanks for spotting the error.
> 
> Tested-by: Lukasz Majewski <l.majewski at samsung.com>

I don't seem to have the patch in my inbox, can someone re-send with
Lukasz Tested-by line already in place ?

-- 
balbi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.linaro.org/pipermail/linaro-dev/attachments/20120321/041a8f81/attachment.pgp>


More information about the linaro-dev mailing list