[GIT PULL] usb: dwc3: patches for v3.8 merge window

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

Here are dwc3 patches for v3.8. This will also conflict with your usb-next
branch and below you can find my resolution:

diff --cc drivers/usb/dwc3/core.c
index c14ebc9,2bd007d..4174054
--- a/drivers/usb/dwc3/core.c
+++ b/drivers/usb/dwc3/core.c
@@@ -408,11 -355,6 +355,10 @@@ 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)

The following changes since commit ddffeb8c4d0331609ef2581d84de4d763607bd37:

  Linux 3.7-rc1 (2012-10-14 14:41:04 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git tags/dwc3-for-v3.8

for you to fetch changes up to e32672f0bc7ec8421aa8e580e9f2216d3bec2505:

  usb: dwc3: core: don't kfree() devm_kzalloc()'ed memory (2012-11-08 15:26:41 +0200)

----------------------------------------------------------------
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.

----------------------------------------------------------------
Felipe Balbi (4):
      usb: dwc3: core: switch event buffer allocation to devm_kzalloc()
      usb: dwc3: core: move event buffer allocation out of dwc3_core_init()
      usb: dwc3: drop HAVE_CLK dependency from Exynos glue layer
      usb: dwc3: core: don't kfree() devm_kzalloc()'ed memory

Sebastian Andrzej Siewior (1):
      usb: dwc3: remove custom unique id handling

Vivek Gautam (2):
      usb: dwc3: exynos: add support for device tree
      usb: dwc3: exynos: remove platform data support

 drivers/usb/dwc3/Makefile      | 14 +-------
 drivers/usb/dwc3/core.c        | 76 +++++++++---------------------------------
 drivers/usb/dwc3/core.h        |  3 --
 drivers/usb/dwc3/dwc3-exynos.c | 49 ++++++++++++---------------
 drivers/usb/dwc3/dwc3-omap.c   | 16 ++-------
 drivers/usb/dwc3/dwc3-pci.c    | 16 ++-------
 6 files changed, 43 insertions(+), 131 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux