From: Greg Kroah-Hartman Date: Mon, 12 Nov 2012 01:22:01 +0000 (-0800) Subject: Merge tag 'dwc3-for-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi... X-Git-Tag: Ubuntu-5.10.0-12.13~20146^2~60 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=0f89fc3fd861b8c50fc8c8db5b9a640959744ac7;p=mirror_ubuntu-hirsute-kernel.git Merge tag 'dwc3-for-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb into usb-next USB dwc3 patches from Felipe: "usb: dwc3: patches for v3.8 We can finaly drop HAVE_CLK dependency from exynos glue layer now that clk API provides no-op stubs when it's not linked into the kernel. We're also switching over event buffer allocation to devm_kzalloc() and moving the allocation out of dwc3_core_init() so that can be re-used when implementing PM support for v3.9. After the introduction of PLATFORM_DEVID_AUTO, we can also drop the homebrew platform device ID handling we had on dwc3 core and let driver core take care of that for us. Exynos glue layer learns about DeviceTree and drops platform_data support completely." --- 0f89fc3fd861b8c50fc8c8db5b9a640959744ac7 diff --cc drivers/usb/dwc3/core.c index c14ebc975ba4,2bd007d16461..e71a62a652d0 --- a/drivers/usb/dwc3/core.c +++ b/drivers/usb/dwc3/core.c @@@ -408,11 -355,6 +355,9 @@@ err0 static void dwc3_core_exit(struct dwc3 *dwc) { dwc3_event_buffers_cleanup(dwc); - dwc3_free_event_buffers(dwc); + + usb_phy_shutdown(dwc->usb2_phy); + usb_phy_shutdown(dwc->usb3_phy); - } #define DWC3_ALIGN_MASK (16 - 1)