Re: [PATCH 1/3] avr32: fix build failure

2015-09-20 Thread Sudip Mukherjee
On Mon, Sep 21, 2015 at 08:09:42AM +0200, Hans-Christian Egtvedt wrote: > Around Sat 19 Sep 2015 22:42:57 +0530 or thereabout, Sudip Mukherjee wrote: > > While building avr32 with allmodconfig, the build used to fail with the > > message: > > error: implicit declaration of function 'pci_iomap' > >

Re: [PATCH 1/3] avr32: fix build failure

2015-09-20 Thread Hans-Christian Egtvedt
Around Sat 19 Sep 2015 22:42:57 +0530 or thereabout, Sudip Mukherjee wrote: > While building avr32 with allmodconfig, the build used to fail with the > message: > error: implicit declaration of function 'pci_iomap' > error: implicit declaration of function 'pci_iounmap' What has changed recently t

Re: [PATCH] USB: EHCI: fix dereference of ERR_PTR

2015-09-20 Thread Sudip Mukherjee
On Mon, Sep 21, 2015 at 10:48:52AM +0800, Lu, Baolu wrote: > > > On 09/16/2015 10:08 PM, Sudip Mukherjee wrote: > >On error find_tt() returns either a NULL pointer or the error value in > >ERR_PTR. But we were dereferencing it directly without even checking if > >find_tt() returned a valid pointe

Re: [PATCH v2 0/7] usb: usbtest misc changes

2015-09-20 Thread Peter Chen
On Sun, Sep 20, 2015 at 11:13:25AM -0500, Felipe Balbi wrote: > On Fri, Sep 18, 2015 at 08:05:39PM -0700, Greg KH wrote: > > On Fri, Sep 18, 2015 at 02:30:09PM -0500, Felipe Balbi wrote: > > > Hi Greg, > > > > > > On Tue, Sep 01, 2015 at 09:47:57AM +0800, Peter Chen wrote: > > > > Alan Stern (1):

Re: [PATCH] USB: EHCI: fix dereference of ERR_PTR

2015-09-20 Thread Lu, Baolu
On 09/16/2015 10:08 PM, Sudip Mukherjee wrote: On error find_tt() returns either a NULL pointer or the error value in ERR_PTR. But we were dereferencing it directly without even checking if find_tt() returned a valid pointer or not. Signed-off-by: Sudip Mukherjee --- drivers/usb/host/ehci-s

[PATCH v3 3/5] ARM: dts: imx25.dtsi: change the clock information for usb

2015-09-20 Thread Peter Chen
For imx25, it needs three clocks to let the controller work, the old code is wrong, and usbmisc has not included clock handling code any more. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx25.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/dts/

[PATCH v3 5/5] usb: chipidea: imx: refine clock operations to adapt for all platforms

2015-09-20 Thread Peter Chen
Some i.mx platforms need three clocks to let controller work, but others only need one, refine clock operation to adapt for all platforms, it fixes a regression found at i.mx27. Signed-off-by: Peter Chen Tested-by: Fabio Estevam Cc: #v4.1+ --- drivers/usb/chipidea/ci_hdrc_imx.c | 156 +

[PATCH v3 2/5] ARM: dts: imx27.dtsi: change the clock information for usb

2015-09-20 Thread Peter Chen
For imx27, it needs three clocks to let the controller work, the old code is wrong, and usbmisc has not included clock handling code any more. Without this patch, it will cause below data abort when accessing usbmisc registers. usbcore: registered new interface driver usb-storage Unhandled fault:

[PATCH v3 0/5] usb: change clock information for chipidea

2015-09-20 Thread Peter Chen
This patch set changes usb clock information for legacy i.mx platforms. At these platforms, they needs three clocks to let controller work. Hi Fabio, Would you please have a test at imx27 and imx25 boards, thanks. Changes for v3: - Delete property "needs-three-clocks", and using of_device_id->da

[PATCH v3 1/5] doc: dt-binding: ci-hdrc-usb2: split vendor specific properties

2015-09-20 Thread Peter Chen
Each vendor may have its specific properties, they are not belonged to common optional properties, split them from common's. Signed-off-by: Peter Chen --- Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt | 10 ++ 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Documen

[PATCH v3 4/5] ARM: dts: imx35.dtsi: change the clock information for usb

2015-09-20 Thread Peter Chen
For imx35, it needs three clocks to let the controller work, the old code is wrong, and the usbmisc does not include clock handling code any more. Signed-off-by: Peter Chen --- arch/arm/boot/dts/imx35.dtsi | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/arch/arm/boot/

[PATCH] musb: sunxi: Make sunxi musb glue work without MUSB_PIO_ONLY

2015-09-20 Thread Hans de Goede
Now that it is possible to build in multiple dma engines, we can no longer require MUSB_PIO_ONLY to be set when using the sunxi musb glue. This patch adds dummy dma hooks to make the musb glue work without MUSB_PIO_ONLY. This hooks are fake because we do not support dma with musb on sunxi. The All

[PATCH 0/1] musb: sunxi: Make sunxi musb glue work without MUSB_PIO_ONLY

2015-09-20 Thread Hans de Goede
Hi, Here is a patch to fix the sunxi musb glue not working when MUSB_PIO_ONLY is not set in the kernel config. Since the sunxi musb glue was just merged for 4.3, it would be nice if this bugfix could be added to 4.3 too, without this distro's will be unable to enable dma with musb and have workin

Re: CH340/341: cannot open twice

2015-09-20 Thread Johan Hovold
[ Please keep everyone on CC including the usb list when responding. ] On Sun, Sep 20, 2015 at 02:52:14AM +0200, C. SB wrote: > > device. The reported problems have looked like hardware issues, > Probably not my case - the device works OK on a winXP box That's good to know. > > Could you try th

Re: PROBLEM: lsusb -v freezes kernel on Acer ES1-111M

2015-09-20 Thread Roland Weber
Hi Alan, hi all, in my previous mail, I wrote: > With "make menuconfig", I haven't been able to switch off the > setting, because CONFIG_PM_SLEEP and something else forces it on For the records, there are no menu entries for CONFIG_PM_SLEEP and CONFIG_HIBERNATE_CALLBACKS. Those are enabled implic

Re: [PATCH 00/16] usb: gadget: amd5536udc: fix memory leaks

2015-09-20 Thread Felipe Balbi
On Sun, Sep 20, 2015 at 01:42:42PM +0530, Sudip Mukherjee wrote: > On Sat, Sep 19, 2015 at 09:24:38AM +0530, Sudip Mukherjee wrote: > > On Fri, Sep 18, 2015 at 01:39:54PM -0500, Felipe Balbi wrote: > > > On Mon, Sep 14, 2015 at 08:42:47PM +0530, Sudip Mukherjee wrote: > > > > This amd5536udc was a

Re: [PATCH 00/16] usb: gadget: amd5536udc: fix memory leaks

2015-09-20 Thread Felipe Balbi
Hi, On Sat, Sep 19, 2015 at 09:24:38AM +0530, Sudip Mukherjee wrote: > On Fri, Sep 18, 2015 at 01:39:54PM -0500, Felipe Balbi wrote: > > On Mon, Sep 14, 2015 at 08:42:47PM +0530, Sudip Mukherjee wrote: > > > This amd5536udc was a complete mess. The major problems that i could > > > find are: > > >

Re: [PATCH 2/3] usb: gadget: at91_udc: mention proper dependency

2015-09-20 Thread Felipe Balbi
On Sat, Sep 19, 2015 at 10:42:58PM +0530, Sudip Mukherjee wrote: > While building allmodconfig on avr32 the build failed with the error: > "at91_pmc_base" [drivers/usb/gadget/udc/atmel_usba_udc.ko] undefined! > > On checking the code it turned out that if CONFIG_OF is defined then it > is using at

Re: [PATCH v2 0/7] usb: usbtest misc changes

2015-09-20 Thread Felipe Balbi
On Fri, Sep 18, 2015 at 08:05:39PM -0700, Greg KH wrote: > On Fri, Sep 18, 2015 at 02:30:09PM -0500, Felipe Balbi wrote: > > Hi Greg, > > > > On Tue, Sep 01, 2015 at 09:47:57AM +0800, Peter Chen wrote: > > > Alan Stern (1): > > > usb: misc: usbtest: format the data pattern according to max packe

[PATCH v4 resend 0/2] power: Add an axp20x-usb-power driver

2015-09-20 Thread Hans de Goede
Hi, This is a resend of v4 of the axp20x-usb-power power-supply driver, after v4 there have been no further comments, so I assume that this version is ready for merging, yet for some reason it has not been merged yet. Can we please get this driver merged (preferably into 4.3, but if not at least

[PATCH v4 resend 1/2] ARM: dts: Add binding documentation for AXP20x pmic usb power supply

2015-09-20 Thread Hans de Goede
Add binding documentation for the usb power supply part of the AXP20x pmic. Signed-off-by: Hans de Goede --- Changes in v2: -Split out into a separate patch from the actual driver commit Changes in v4: -s/usb_power_supply/usb-power-supply/ in the dts example code --- .../bindings/power_supply/ax

[PATCH v4 resend 2/2] power: Add an axp20x-usb-power driver

2015-09-20 Thread Hans de Goede
This adds a driver for the usb power_supply bits of the axp20x PMICs. I initially started writing my own driver, before coming aware of Bruno Prémont's excellent earlier RFC with a driver for this. My driver was lacking CURRENT_MAX and VOLTAGE_MIN support Bruno's drvier has, so I've copied the co

Re: First kernel patch (optimization)

2015-09-20 Thread Alexander Holler
Am 20.09.2015 um 04:21 schrieb Theodore Ts'o: On Sat, Sep 19, 2015 at 07:47:22PM +0200, Alexander Holler wrote: Perhaps not so surprisingly, over a decade later, it is not currently at the top of the priority list of any of the current file system or VFS developers, as far as I know. One of t

Re: [PATCH 00/16] usb: gadget: amd5536udc: fix memory leaks

2015-09-20 Thread Sudip Mukherjee
On Sat, Sep 19, 2015 at 09:24:38AM +0530, Sudip Mukherjee wrote: > On Fri, Sep 18, 2015 at 01:39:54PM -0500, Felipe Balbi wrote: > > On Mon, Sep 14, 2015 at 08:42:47PM +0530, Sudip Mukherjee wrote: > > > This amd5536udc was a complete mess. The major problems that i could > > > find are: > > > >