From: Marek Szyprowski Date: Mon, 20 Oct 2014 10:45:33 +0000 (+0200) Subject: usb: dwc2: gadget: fix gadget unregistration in udc_stop() function X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~17^2~2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32805c350bad16e7d4debe55820d2e79dca89fb6;p=pandora-kernel.git usb: dwc2: gadget: fix gadget unregistration in udc_stop() function udc_stop() should clear ->driver pointer unconditionally to let the UDC framework to work correctly with both registering/unregistering gadgets and enabling/disabling gadgets by writing to /sys/class/udc/*hsotg/soft_connect interface. Acked-by: Paul Zimmerman Signed-off-by: Marek Szyprowski Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed