[PATCH] usb: gadget: mv_u3d_core: fix memory leaks

2013-09-21 Thread Valentin Ilie
When trb_hw is NULL, trb should be free'd before return. Signed-off-by: Valentin Ilie --- drivers/usb/gadget/mv_u3d_core.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/gadget/mv_u3d_core.c b/drivers/usb/gadget/mv_u3d_core.c index 561b30e..4d31177 100644 --- a/drivers/usb/

Re: [RFC 10/21] xhci: replace xhci_readl() with readl() in xhci-dbg.c

2013-09-21 Thread Xenia Ragiadakou
On 09/21/2013 04:30 AM, Dan Williams wrote: On Thu, Sep 19, 2013 at 10:24 PM, Pratyush Anand wrote: On Fri, Sep 20, 2013 at 05:37:50AM +0800, Sarah Sharp wrote: On Fri, Sep 13, 2013 at 03:50:48PM +0530, Pratyush Anand wrote: On Fri, Sep 13, 2013 at 3:40 PM, Xenia Ragiadakou wrote: Nope :). T

[PATCH V5 3/9] USB: OHCI: make ohci-omap3 a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the TI OHCI OMAP3 host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Anand Gadiyar Cc: F

[PATCH V5 1/9] USB: OHCI: make ohci-exynos a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the Samsung OHCI EXYNOS host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Acked-by: Jingoo H

[PATCH V5 5/9] USB: OHCI: make ohci-at91 a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the TI OHCI Atmel host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Arnd Bergmann Cc: G

[PATCH V5 2/9] USB: OHCI: make ohci-omap a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the TI OHCI OMAP1/2 host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Felipe Balbi Cc:

[PATCH V5 7/9] USB: OHCI: make ohci-nxp a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the OHCI NXP host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Many place function name and struct name started with usb, current scenario replaced usb with ohci for proper namin

[PATCH V5 8/9] USB: OHCI: make ohci-ep93xx a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the OHCI EP93XX host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Arnd Bergmann Cc: Greg

[PATCH V5 4/9] USB: OHCI: make ohci-spear a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the ST OHCI SPEAr host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Viresh Kumar Cc: Arn

[PATCH V5 6/9] USB: OHCI: make ohci-s3c2410 a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the Samsung OHCI S3C24xx/S3C64xx host controller driver from ohci-hcd host code so that it can be built as a separate driver module.This work is part of enabling multi-platform. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Reviewed-by: Tomasz Figa

[PATCH V5 9/9] USB: OHCI: make ohci-pxa27x a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the OHCI pxa27x/pxa3xx host controller driver from ohci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM. Signed-off-by: Manjunath Goudar Signed-off-by: Deepak Saxena Acked-by: Alan Stern Cc: Arnd Bergmann

[PATCH V2] USB: EHCI: make ehci-w90X900 a separate driver

2013-09-21 Thread Manjunath Goudar
Separate the W90X900(W90P910) on-chip host controller driver from ehci-hcd host code so that it can be built as a separate driver module. This work is part of enabling multi-platform kernels on ARM; however, note that other changes are still needed before W90X900(W90P910) can be booted with a multi

Re: [PATCH 0/4] Add support for charging battery in Nokia RX-51

2013-09-21 Thread Pali Rohár
On Sunday 08 September 2013 10:50:35 Pali Rohár wrote: > This patch series finally bringing support for charging > battery on Nokia N900 (RX-51) without any proprietary Nokia > bits in userspace. > > Pali Rohár (4): > usb: musb: Call atomic_notifier_call_chain when status is > changed power: isp

Re: [PATCH][RFC] Fix breakage in ffs_fs_mount()

2013-09-21 Thread Al Viro
On Sat, Sep 21, 2013 at 01:10:48AM +0200, Michal Nazarewicz wrote: > On Fri, Sep 20 2013, Al Viro wrote: > > There's a bunch of failure exits in ffs_fs_mount() with > > seriously broken recovery logics. Most of that appears to stem > > from misunderstanding of the ->kill_sb() semantics; > > T

Re: [RFC 10/21] xhci: replace xhci_readl() with readl() in xhci-dbg.c

2013-09-21 Thread Dan Williams
On Sat, Sep 21, 2013 at 3:43 AM, Xenia Ragiadakou wrote: > On 09/21/2013 04:30 AM, Dan Williams wrote: > Hi Dan, > > What do you mean by saying "1% object size hit"? Do you mean 1% increase in > xhci footprint? I was comparing the results of size(1) on xhci-hcd.o with a version that turns xhci_d

Re: [PATCH 5/5] dma: cppi41: add support for suspend and resume

2013-09-21 Thread Sergei Shtylyov
On 09/20/2013 05:43 PM, Daniel Mack wrote: This patch adds support for suspend/resume functionality to the cppi41 DMA driver. The steps neccessary to make the system resume properly were figured out by hefty trial-and-error. The code as it stands now is the minimum that has to be done to put the

Re: [PATCH 5/5] dma: cppi41: add support for suspend and resume

2013-09-21 Thread Daniel Mack
On 21.09.2013 20:14, Sergei Shtylyov wrote: > On 09/20/2013 05:43 PM, Daniel Mack wrote: > >> This patch adds support for suspend/resume functionality to the cppi41 >> DMA driver. The steps neccessary to make the system resume properly were >> figured out by hefty trial-and-error. The code as it s

Re: [PATCH 24/51] DMA-API: dma: pl330: add dma_set_mask_and_coherent() call

2013-09-21 Thread Russell King - ARM Linux
On Fri, Sep 20, 2013 at 07:26:27PM +0200, Heiko Stübner wrote: > Am Donnerstag, 19. September 2013, 23:49:01 schrieb Russell King: > > The DMA API requires drivers to call the appropriate dma_set_mask() > > functions before doing any DMA mapping. Add this required call to > > the AMBA PL08x driver

[PATCH v2] davinci: fix resources passed to MUSB driver for DM6467

2013-09-21 Thread Sergei Shtylyov
After commit 09fc7d22b024692b2fe8a943b246de1af307132b (usb: musb: fix incorrect usage of resource pointer), CPPI DMA driver on DaVinci DM6467 can't detect its dedicated IRQ and so the MUSB IRQ is erroneously used instead. This is because only 2 resources are passed to the MUSB driver from the DaV

Re: [PATCH v2] davinci: fix resources passed to MUSB driver for DM6467

2013-09-21 Thread Sergei Shtylyov
Hello. On 09/22/2013 12:58 AM, Sergei Shtylyov wrote: After commit 09fc7d22b024692b2fe8a943b246de1af307132b (usb: musb: fix incorrect usage of resource pointer), CPPI DMA driver on DaVinci DM6467 can't detect its dedicated IRQ and so the MUSB IRQ is erroneously used instead. This is because o

[PATCH v3] davinci: fix resources passed to MUSB driver for DM6467

2013-09-21 Thread Sergei Shtylyov
After commit 09fc7d22b024692b2fe8a943b246de1af307132b (usb: musb: fix incorrect usage of resource pointer), CPPI DMA driver on DaVinci DM6467 can't detect its dedicated IRQ and so the MUSB IRQ is erroneously used instead. This is because only 2 resources are passed to the MUSB driver from the DaV

Re: [PATCH][RFC] Fix breakage in ffs_fs_mount()

2013-09-21 Thread Greg KH
On Sat, Sep 21, 2013 at 03:51:26PM +0100, Al Viro wrote: > On Sat, Sep 21, 2013 at 01:10:48AM +0200, Michal Nazarewicz wrote: > > On Fri, Sep 20 2013, Al Viro wrote: > > > There's a bunch of failure exits in ffs_fs_mount() with > > > seriously broken recovery logics. Most of that appears to stem

problematic device

2013-09-21 Thread folkert
Hi, Cleware GMBH is a German company producing all kinds of USB devices. Switches, lights, sensors, etc. As a hobbyist, I do the Linux support for them (I wrote a userspace program to control their devices). Now a new range of products are to be released with new firmware. I think I'm seeing probl

Re: problematic device

2013-09-21 Thread Alan Stern
On Sun, 22 Sep 2013, folkert wrote: > Hi, > > Cleware GMBH is a German company producing all kinds of USB devices. > Switches, lights, sensors, etc. > As a hobbyist, I do the Linux support for them (I wrote a userspace > program to control their devices). > Now a new range of products are to be r

Cannot shutdown power use from built in webcam in thinkpad T530 questions]

2013-09-21 Thread Marc MERLIN
Howdy, I have a T530 with a built in webcam that uses the uvcvideo driver. Kernel 3.10.6, but the problem has been there for many kernel versions. >From time to time (not always) it shows up at the top of powertop with an unexplained high power use while I'm not using the camera. Powertop says au