]> rtime.felk.cvut.cz Git - linux-imx.git/commitdiff
Merge tag 'dwc3-for-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/balbi...
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Nov 2012 01:22:01 +0000 (17:22 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Nov 2012 01:22:01 +0000 (17:22 -0800)
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."

1  2 
drivers/usb/dwc3/core.c

index c14ebc975ba422028b663b4b90ac6e605c1c6115,2bd007d1646164ed3b5d7279eefd1678037615b8..e71a62a652d0f22fe082446c45fed71cd8da5e53
@@@ -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)