[PATCH 1/2] usb: gadget: f_mass_storage: add mising linux/uaccess.h

2015-08-06 Thread Felipe Balbi
linux/uaccess.h was originally being pulled indirectly through some other header, however it's not anymore, so we need to include it directly Reported-by: Jim Davis jim.ep...@gmail.com Suggested-by: Alan Stern st...@rowland.harvard.edu Signed-off-by: Felipe Balbi ba...@ti.com ---

Re: [PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Greg KH
On Thu, Aug 06, 2015 at 03:03:48PM +0800, Baolin Wang wrote: This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is

Re: [PATCH 0/2] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-06 Thread Greg KH
On Thu, Aug 06, 2015 at 11:21:22AM -0500, Felipe Balbi wrote: Hi, On Thu, Aug 06, 2015 at 03:03:47PM +0800, Baolin Wang wrote: Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided

[ANNOUNCE] tree closed for v4.3 merge window

2015-08-06 Thread Felipe Balbi
Hi folks, if your patches aren't in my tree yet, it's too late, sorry. We have a total of 145 non-merge commits, here's dirstat: $ git diff --dirstat next ^cbfe8fa6cd67 | sort -rn 21.0% drivers/usb/gadget/udc/ 19.9% drivers/usb/musb/ 12.9% drivers/usb/phy/ 11.7%

Re: [PATCH] drivers/usb: Delete XHCI command timer if necessary

2015-08-06 Thread Gavin Shan
On Thu, Aug 06, 2015 at 10:37:11AM +0300, Mathias Nyman wrote: On 06.08.2015 02:29, Greg KH wrote: On Thu, Aug 06, 2015 at 09:13:12AM +1000, Gavin Shan wrote: On Mon, Jul 27, 2015 at 12:08:05PM +1000, Gavin Shan wrote: When xhci_mem_cleanup() is called, it's possible that the command timer

Re: [PATCH 10/10] ARM: dts: omap4: Use syscon-otghs instead of ctrl-module in USB node

2015-08-06 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150805 07:28]: Hi Roger, On Wednesday 05 August 2015 01:38 PM, Roger Quadros wrote: On 05/08/15 11:02, Roger Quadros wrote: Kishon, On 04/08/15 18:30, Kishon Vijay Abraham I wrote: Add syscon-otghs property and remove the deprecated ctrl-module

Re: [PATCH] usb: musb: omap2430: use *syscon* framework API to write to mailbox register

2015-08-06 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [150805 07:10]: On Wednesday 05 August 2015 01:31 PM, Tony Lindgren wrote: We don't have syscon-otghs and to me it seems we need a PHY driver as I pointed out at: If *syscon-otghs* is not present, then it'll fall-back to using the *ctrl-module*.

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Laszlo Papp
Hi Alan, On Wed, Aug 5, 2015 at 7:15 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 5 Aug 2015, Greg KH wrote: hm, wait, is this really the n_gsm line discipline? Or is it something else? g_serial is the device side of a serial connection, there is no cable removed notification

[PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Baolin Wang
This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system with suitable hardware. The basic conception of the usb charger is that, when one usb charger is added or removed by reporting from

Re: [PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Baolin Wang
On 7 August 2015 at 00:39, Greg KH gre...@linuxfoundation.org wrote: On Thu, Aug 06, 2015 at 03:03:48PM +0800, Baolin Wang wrote: This patch introduces the usb charger driver based on usb gadget that makes an enhancement to a power driver. It works well in practice but that requires a system

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs to have been probed already before we can call

Re: [PATCH] usb: chipidea: imx: properly check for usbmisc

2015-08-06 Thread Peter Chen
On Fri, Aug 07, 2015 at 10:11:47AM +0800, Peter Chen wrote: On Thu, Aug 06, 2015 at 03:09:54PM +0200, Tomeu Vizoso wrote: If usbmisc hasn't probed yet, defer the probe. It's not enough to check if the platform device for the OF node of the usbmisc has been registered, but it also needs

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Laszlo Papp
On Wed, Aug 5, 2015 at 6:09 PM, Peter Stuge pe...@stuge.se wrote: Greg KH wrote: int fd = open(/dev/ttyGS0, O_RDWR | O_NONBLOCK); This line discipline is very different from the traditional tty line discipline .. this is a character device, with a very specific line discipline

[PATCH 0/2] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-06 Thread Baolin Wang
Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels or USB gadget devices based on Linux (such as mobile phones) may not

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Laszlo Papp
On Wed, Aug 5, 2015 at 5:29 PM, Greg KH g...@kroah.com wrote: On Wed, Aug 05, 2015 at 04:40:21PM +0100, Laszlo Papp wrote: On Wed, Aug 5, 2015 at 3:56 PM, Greg KH g...@kroah.com wrote: On Wed, Aug 05, 2015 at 11:05:56AM +0100, Laszlo Papp wrote: Hi, The code below reproduces the issue.

[PATCH 2/2] gadget: Support for the usb charger framework

2015-08-06 Thread Baolin Wang
The usb charger framework is based on usb gadget, and each usb gadget can be one usb charger to set the current limitation. This patch adds a notifier mechanism for usb charger to report to usb charger when the usb gadget state is changed. Also we introduce a callback 'get_charger_type' which

Re: [PATCH v7 7/8] usb: musb: gadget: add musb_match_ep() function

2015-08-06 Thread Sergei Shtylyov
On 8/6/2015 10:58 AM, Robert Baldyga wrote: Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform

[PATCH v8 0/8] usb: gadget: rework ep matching and claiming mechanism

2015-08-06 Thread Robert Baldyga
Hi Felipe, These are remaining patches of my series plus one which remained from series [1]. [1] usb: gadget: get rid of UDC name-based quirks https://lkml.org/lkml/2015/7/28/29 Best regards, Robert Baldyga Changelog: v8: - addressed comments from Sergei Shtylyov v7:

[PATCH v8 5/8] usb: gadget: net2280: add net2280_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

[PATCH v8 8/8] usb: gadget: remove gadget_chips.h

2015-08-06 Thread Robert Baldyga
This header file contains helpers for quirks based on UDC controller name. Since we have generic quirk bitfields in usb_gadget structure for all of these quirks we don't need to have this header any longer. This patch removes gadget_chips.h file and makes sure that it's no longer included

[PATCH v8 1/8] usb: gadget: epautoconf: rework ep_matches() function

2015-08-06 Thread Robert Baldyga
Rework ep_matches() function to make it shorter and more readable. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/epautoconf.c | 81 - 1 file changed, 32 insertions(+), 49 deletions(-) diff --git

[PATCH v8 2/8] usb: gadget: add 'ep_match' callback to usb_gadget_ops

2015-08-06 Thread Robert Baldyga
Add callback that is called by epautoconf to allow UDC driver match the best endpoint for specific descriptor. It's intended to supply mechanism which allows to get rid of chip-specific endpoint matching code from epautoconf. If gadget has set 'ep_match' callback we prefer to call it first, and

Re: Re: [PATCH v3]USB:OHCI: BugFix:Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2015-08-06 Thread AMAN DEEP
Dear Alan sorry for late reply. This patch has been difficult to coordinate because it affects exactly the same code as another recent fix (I really goofed when writing the 977dcfdc6031 commit). Here's my version of it, based on Greg's usb-linus branch as of about a week ago; the topmost commit

Re: [PATCH v7 6/8] usb: gadget: goku_udc: add goku_match_ep() function

2015-08-06 Thread Sergei Shtylyov
Hello. On 8/6/2015 10:58 AM, Robert Baldyga wrote: Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from

[PATCH v8 6/8] usb: gadget: goku_udc: add goku_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

[PATCH v8 3/8] usb: gadget: move ep_matches() from epautoconf to udc-core

2015-08-06 Thread Robert Baldyga
Move ep_matches() function to udc-core and rename it to usb_gadget_ep_match_desc(). This function can be used by UDC drivers in 'match_ep' callback to avoid writing lots of repetitive code. Replace all calls of ep_matches() with usb_gadget_ep_match_desc(). Signed-off-by: Robert Baldyga

[PATCH v8 4/8] usb: gadget: move find_ep() from epautoconf to udc-core

2015-08-06 Thread Robert Baldyga
Move find_ep() to udc-core and rename it to gadget_find_ep_by_name(). It can be used in UDC drivers, especially in 'match_ep' callback after moving chip-specific endpoint matching logic from epautoconf to UDC drivers. Replace all calls of find_ep() function with gadget_find_ep_by_name().

[PATCH v8 7/8] usb: musb: gadget: add musb_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

Re: [PATCH 1/2] gadget: Introduce the usb charger framework

2015-08-06 Thread Mark Brown
On Thu, Aug 06, 2015 at 09:39:05AM -0700, Greg KH wrote: On Thu, Aug 06, 2015 at 03:03:48PM +0800, Baolin Wang wrote: +static void usb_charger_release(struct device *dev) +{ + struct usb_charger *uchger = dev_get_drvdata(dev); + if (!atomic_dec_and_test(uchger-count)) { +

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Alan Stern
On Thu, 6 Aug 2015, Laszlo Papp wrote: Hi Alan, On Wed, Aug 5, 2015 at 7:15 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 5 Aug 2015, Greg KH wrote: hm, wait, is this really the n_gsm line discipline? Or is it something else? g_serial is the device side of a serial

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Laszlo Papp
On Thu, Aug 6, 2015 at 2:52 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 6 Aug 2015, Laszlo Papp wrote: Hi Alan, On Wed, Aug 5, 2015 at 7:15 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 5 Aug 2015, Greg KH wrote: hm, wait, is this really the n_gsm line discipline?

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Alan Stern
On Thu, 6 Aug 2015, Laszlo Papp wrote: You should also add a printk statement to the disconnect callback so that you can verify whether it really is getting called. Thanks. Should that also be called if I just boot up the board with Linux on it while the cable is not attached. No. It

Re: Renesas upd7202 (xhci): can't setup

2015-08-06 Thread Jean-Francois SIMON
Mathias, Does changing the delay time in the busyloop make a difference? We have found that this was a hardware problem in our design. -jfs -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to majord...@vger.kernel.org More majordomo info at

[PATCH v7 0/8] usb: gadget: rework ep matching and claiming mechanism

2015-08-06 Thread Robert Baldyga
Hi Felipe, These are remaining patches of my series plus one which remained from series [1]. In this version of this patch set I have changed gadget_find_ep_by_name() to exported symbol, as Alan suggested. [1] usb: gadget: get rid of UDC name-based quirks https://lkml.org/lkml/2015/7/28/29

[PATCH][v2] drivers: usb: fsl: Workaround for USB erratum-A005275

2015-08-06 Thread Nikhil Badola
Incoming packets in high speed are randomly corrupted by h/w resulting in multiple errors. This workaround makes FS as default mode in all affected socs by disabling HS chirp signalling.This errata does not affect FS and LS mode. Forces all HS devices to connect in FS mode for all socs affected

[PATCH v7 5/8] usb: gadget: net2280: add net2280_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

[PATCH v7 2/8] usb: gadget: add 'ep_match' callback to usb_gadget_ops

2015-08-06 Thread Robert Baldyga
Add callback that is called by epautoconf to allow UDC driver match the best endpoint for specific descriptor. It's intended to supply mechanism which allows to get rid of chip-specific endpoint matching code from epautoconf. If gadget has set 'ep_match' callback we prefer to call it first, and

[PATCH v7 3/8] usb: gadget: move ep_matches() from epautoconf to udc-core

2015-08-06 Thread Robert Baldyga
Move ep_matches() function to udc-core and rename it to usb_gadget_ep_match_desc(). This function can be used by UDC drivers in 'match_ep' callback to avoid writing lots of repetitive code. Replace all calls of ep_matches() with usb_gadget_ep_match_desc(). Signed-off-by: Robert Baldyga

[PATCH v7 4/8] usb: gadget: move find_ep() from epautoconf to udc-core

2015-08-06 Thread Robert Baldyga
Move find_ep() to udc-core and rename it to gadget_find_ep_by_name(). It can be used in UDC drivers, especially in 'match_ep' callback after moving chip-specific endpoint matching logic from epautoconf to UDC drivers. Replace all calls of find_ep() function with gadget_find_ep_by_name().

[PATCH v7 1/8] usb: gadget: epautoconf: rework ep_matches() function

2015-08-06 Thread Robert Baldyga
Rework ep_matches() function to make it shorter and more readable. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/gadget/epautoconf.c | 81 - 1 file changed, 32 insertions(+), 49 deletions(-) diff --git

[PATCH v7 7/8] usb: musb: gadget: add musb_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

[PATCH v7 8/8] usb: gadget: remove gadget_chips.h

2015-08-06 Thread Robert Baldyga
This header file contains helpers for quirks based on UDC controller name. Since we have generic quirk bitfields in usb_gadget structure for all of these quirks we don't need to have this header any longer. This patch removes gadget_chips.h file and makes sure that it's no longer included

[PATCH v7 6/8] usb: gadget: goku_udc: add goku_match_ep() function

2015-08-06 Thread Robert Baldyga
Add 'match_ep' callback to utilize chip-specific knowledge in endpoint matching process. Function does the same that was done by chip-specific code inside of epautoconf. Now this code can be removed from there to separate generic code from platform specific logic. Signed-off-by: Robert Baldyga

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-08-06 Thread Olliver Schinagl
Hey Hans, I've tried getting your musb stuff working on a cubietruck, but i don't seem to see this patch on your linux-sunxi/sunxi-wip branch on github? Is your github branch fully functional at the moment? What I have done so far, is build the kernel using sunxi_defconfig and enabled

Re: PROBLEM: ch341 module fails with EPROTO when I plug-in Arduino board)

2015-08-06 Thread Evgen Druzhynin
2015-07-07 14:28 GMT+03:00 Evgen Druzhynin evgen.druzhy...@gmail.com: 2015-07-07 14:06 GMT+03:00 Johan Hovold jo...@kernel.org: I'll try to find exact kernel version where issue was introduced ASAP. Hi all, Root cause is chinese Arduino board (ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Peter Hurley
[ +cc Felipe ] Hi Laszlo, On 08/06/2015 10:03 AM, Laszlo Papp wrote: On Thu, Aug 6, 2015 at 2:52 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 6 Aug 2015, Laszlo Papp wrote: On Wed, Aug 5, 2015 at 7:15 PM, Alan Stern st...@rowland.harvard.edu wrote: On Wed, 5 Aug 2015, Greg KH

randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c

2015-08-06 Thread Jim Davis
Building with the attached random configuration file, drivers/usb/gadget/function/f_mass_storage.c: In function ‘fsg_main_thread’: drivers/usb/gadget/function/f_mass_storage.c:2520:2: error: implicit declaration of function ‘set_fs’ [-Werror=implicit-function-declaration] set_fs(get_ds()); ^

Re: g_serial hangs on write when the cable is disconnected

2015-08-06 Thread Laszlo Papp
On Thu, Aug 6, 2015 at 4:16 PM, Peter Hurley pe...@hurleysoftware.com wrote: [ +cc Felipe ] Hi Laszlo, On 08/06/2015 10:03 AM, Laszlo Papp wrote: On Thu, Aug 6, 2015 at 2:52 PM, Alan Stern st...@rowland.harvard.edu wrote: On Thu, 6 Aug 2015, Laszlo Papp wrote: On Wed, Aug 5, 2015 at 7:15

[PATCH 0/5] xhci features for usb-next

2015-08-06 Thread Mathias Nyman
Hi Greg There xhci patches for usb-next include support for a couple new xhci 1.1 features, support for zero packet bulk transfers and some other minor changes -Mathias Lu Baolu (2): xhci: xHCI 1.1: Contiguous Frame ID Capability (CFC) xhci: xHCI 1.1: Stopped - Short Packet Capability (SPC)

[PATCH 5/5] xhci: xHCI 1.1: Stopped - Short Packet Capability (SPC)

2015-08-06 Thread Mathias Nyman
From: Lu Baolu baolu...@linux.intel.com This patch enables xhci driver to support SPC by handling Stopped - Short Packet event in transfer event path. If SPC = '1' and the stop endpoint command is executed, after a Short Packet condition has been detected, but before the end of the TD has been

[PATCH 4/5] xhci: xHCI 1.1: Contiguous Frame ID Capability (CFC)

2015-08-06 Thread Mathias Nyman
From: Lu Baolu baolu...@linux.intel.com If the Contiguous Frame ID Capability is supported (CFC = 1), then the xHC shall match the Frame ID in every Isoch TD with SIA = 0 against the Frame Index of the MFINDEX register. This rule ensures resynchronization of Isoch TDs even if some are dropped due

Re: [PATCH 0/2] Introduce usb charger framework to deal with the usb gadget power negotation

2015-08-06 Thread Felipe Balbi
Hi, On Thu, Aug 06, 2015 at 03:03:47PM +0800, Baolin Wang wrote: Currently the Linux kernel does not provide any standard integration of this feature that integrates the USB subsystem with the system power regulation provided by PMICs meaning that either vendors must add this in their kernels

[PATCH 1/5] usb: xhci: make USB_XHCI_PLATFORM selectable

2015-08-06 Thread Mathias Nyman
From: Rafał Miłecki zaj...@gmail.com Right now xhci-plat-hcd can be built when using one of platform specific drivers only (mvebu/rcar). There shouldn't be such limitation as some platforms may not require any quirks and may want to just use a generic driver (generic-xhci / xhci-hcd).

[PATCH 3/5] usb: host: xhci: Simplify return statement

2015-08-06 Thread Mathias Nyman
From: Saurabh Karajgaonkar skara...@visteon.com Replace redundant variable use in return statement. Signed-off-by: Saurabh Karajgaonkar skara...@visteon.com Signed-off-by: Mathias Nyman mathias.ny...@linux.intel.com --- drivers/usb/host/xhci.c | 6 +- 1 file changed, 1 insertion(+), 5

[PATCH 2/5] usb: xhci: Add support for URB_ZERO_PACKET to bulk/sg transfers

2015-08-06 Thread Mathias Nyman
From: Reyad Attiyat reyad.atti...@gmail.com This commit checks for the URB_ZERO_PACKET flag and creates an extra zero-length td if the urb transfer length is a multiple of the endpoint's max packet length. Signed-off-by: Reyad Attiyat reyad.atti...@gmail.com Signed-off-by: Mathias Nyman

Re: [PATCH] drivers/usb: Delete XHCI command timer if necessary

2015-08-06 Thread Mathias Nyman
On 06.08.2015 02:29, Greg KH wrote: On Thu, Aug 06, 2015 at 09:13:12AM +1000, Gavin Shan wrote: On Mon, Jul 27, 2015 at 12:08:05PM +1000, Gavin Shan wrote: When xhci_mem_cleanup() is called, it's possible that the command timer isn't initialized and scheduled. For those cases, to delete the

[PATCH 2/2] usb: gadget: legacy: nokia: add CONFIG_BLOCK dependency

2015-08-06 Thread Felipe Balbi
g_nokia now has mass_storage function, so it should depend on CONFIG_BLOCK. Signed-off-by: Felipe Balbi ba...@ti.com --- drivers/usb/gadget/legacy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/legacy/Kconfig b/drivers/usb/gadget/legacy/Kconfig index

Re: randconfig build error with next-20150806, in drivers/usb/gadget/function/f_mass_storage.c

2015-08-06 Thread Alan Stern
On Thu, 6 Aug 2015, Jim Davis wrote: Building with the attached random configuration file, drivers/usb/gadget/function/f_mass_storage.c: In function ‘fsg_main_thread’: drivers/usb/gadget/function/f_mass_storage.c:2520:2: error: implicit declaration of function ‘set_fs’

Re: [linux-sunxi] [PATCH] musb: sunxi: Ignore VBus errors in host-only mode

2015-08-06 Thread Hans de Goede
Hi, On 06-08-15 10:22, Olliver Schinagl wrote: Hey Hans, I've tried getting your musb stuff working on a cubietruck, but i don't seem to see this patch on your linux-sunxi/sunxi-wip branch on github? Is your github branch fully functional at the moment? What I have done so far, is build the

[PATCH 1/2] usb: musb: gadget: remove remaining DMA ifdeferry

2015-08-06 Thread Felipe Balbi
Commit fb91cddc54e7 (usb: musb: Remove DMA ifdef for musb_gadget.c short_packet) tried to remove DMA ifdeferry from musb_gadget.c but ended up leaving some around. Remove them so that when building kernels with all DMA engines enabled, we don't end up trying to allocte channels twice.

[PATCH 2/2] usb: musb: cppi41: allow it to work again

2015-08-06 Thread Felipe Balbi
since commit 33c300cb90a6 (usb: musb: dsps: don't fake of_node to musb core) we have been preventing CPPI 4.1 from probing due to NULL of_node. We can't revert said commit otherwise a different regression would show up, so the fix is to look for the parent device's (glue layer's) of_node instead,