On Fri, 16 Mar 2012 13:35:20 +0000 Sangwook Lee sangwook.lee@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@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@samsung.com