From: Yoshihiro Shimoda Date: Fri, 8 Jul 2011 05:51:21 +0000 (+0900) Subject: usb: gadget: r8a66597-udc: fix cannot connect after rmmod gadget driver X-Git-Tag: v3.1-rc1~234^2~3^2^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=deafeb24e8a846da8555e68f4bcf651daa8a4ed1;p=pandora-kernel.git usb: gadget: r8a66597-udc: fix cannot connect after rmmod gadget driver When we run rmmod a gadget driver, the driver will call disable_controller(). Then, because the bit of USBE in SYSCFG0 was cleared in on_chip=1 mode, we could not connect the usb when we run insmod a gadget driver next time. This patch also cleans up probe() and ->stop() about unnecessary init_controller(). Signed-off-by: Yoshihiro Shimoda Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed