]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
USB: s3c2410: deactivate endpoints before gadget unbinding
authorVladimir Zapolskiy <vzapolskiy@gmail.com>
Fri, 18 Jun 2010 04:25:00 +0000 (08:25 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 30 Jun 2010 15:16:06 +0000 (08:16 -0700)
commit3b49d2315c119b9ae8a9a33b07d4eb7d194c01a7
treee1c0ab9b91219a1719d52c6fc824799139df0f9d
parent4c9715de52b9b6256bf1e9510917111a47b0c176
USB: s3c2410: deactivate endpoints before gadget unbinding

Gadget disconnect must be called before unbinding to avoid races.
The change fixes an oops on g_ether module unregistering.

Signed-off-by: Vladimir Zapolskiy <vzapolskiy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/s3c2410_udc.c