usb: renesas_usbhs: fixup gadget.dev.driver when udc_stop.
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Fri, 18 Nov 2011 02:19:56 +0000 (18:19 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 29 Nov 2011 14:19:03 +0000 (23:19 +0900)
commit0cdd7d4b66aa740ce62aeeaf7fbd495130c2864f
tree7ddaebe4555e867abe4b870426ed70268175fd2a
parent8885a897c26b2f63e1bbb6fa7bd9da3a73a09113
usb: renesas_usbhs: fixup gadget.dev.driver when udc_stop.

current renesas_usbhs is using new style udc_start/stop from
af1d7056a5c1e5eaaf807ddd1423101db84668d0
(usb: gadget: renesas: convert to new style).

But current renesas_usbhs driver didn't care about gadget.dev.driver
when udc_stop. it cause rmmod oops.
This patch care it.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/renesas_usbhs/mod_gadget.c