On 04/18/2012 01:12 PM, Alexander Shishkin wrote:
On Wed, 18 Apr 2012 13:48:40 +0300, Felipe Balbi<balbi@xxxxxx> wrote:
On Tue, Apr 17, 2012 at 05:02:30PM +0300, Alexander Shishkin wrote:
Currently, on gadget removal path, dummy_pullup() gets called after
gadget's disconnect(). Now, dummy_pullup() decides that it needs to
disconnect again, resulting in a crash. IOW, rmmod g_zero will crash
with dummy_hcd.
Isn't the fix then simply:
Nope. It never reaches dummy_udc_stop(), because dummy_pullup() that
crashes the kernel is called before it.
Could you please a backtrace and how you get there?
Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html