[PATCH 12/12] USB: ohci-nxp: Use devm_clk_get()

2013-12-10 Thread Jingoo Han
Use devm_clk_get() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-nxp.c | 26 -- 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/ohci-nxp.c b/drivers/usb/host/ohci-nxp.c index 719f28e..ba180ed 100644 --

[PATCH 05/12] USB: ohci-at91: Use devm_*() functions

2013-12-10 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-at91.c | 52 +- 1 file changed, 11 insertions(+), 41 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index 29

[PATCH 10/12] USB: ohci-ppc-of: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-ppc-of.c | 22 -- 1 file changed, 4 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index 2ee1787..965

[PATCH 11/12] USB: ohci-spear: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-spear.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c index 4cb98ab..8b29a0c 100644

[PATCH 09/12] USB: ohci-octeon: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-octeon.c | 23 +-- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/ohci-octeon.c b/drivers/usb/host/ohci-octeon.c index 49b220d..15

[PATCH 08/12] USB: ohci-pxa27x:Use devm_*() functions

2013-12-10 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-pxa27x.c | 38 ++ 1 file changed, 10 insertions(+), 28 deletions(-) diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c index

[PATCH 07/12] USB: ohci-jz4740: Use devm_*() functions

2013-12-10 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-jz4740.c | 39 +-- 1 file changed, 9 insertions(+), 30 deletions(-) diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz4740.c index

[PATCH 06/12] USB: ohci-da8xx: Use devm_*() functions

2013-12-10 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-da8xx.c | 55 +++-- 1 file changed, 15 insertions(+), 40 deletions(-) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index

[PATCH 04/12] USB: ehci-w90x900: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-w90x900.c | 21 + 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c index 12c1a56..a

[PATCH 03/12] USB: ehci-octeon: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-octeon.c | 23 +-- 1 file changed, 5 insertions(+), 18 deletions(-) diff --git a/drivers/usb/host/ehci-octeon.c b/drivers/usb/host/ehci-octeon.c index c4ad7ed..90

[PATCH 02/12] USB: ehci-fsl: Use devm_ioremap_resource()

2013-12-10 Thread Jingoo Han
Use devm_ioremap_resource() to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-fsl.c | 28 +++- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 7cd23b6..6f2c8d

[PATCH 01/12] USB: ehci-orion: Use devm_*() functions

2013-12-10 Thread Jingoo Han
Use devm_*() functions to make cleanup paths simpler. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-orion.c | 43 - 1 file changed, 12 insertions(+), 31 deletions(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index

RE: [PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
> -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2013年12月11日 14:18 > To: ba...@ti.com; gre...@linuxfoundation.org > Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Neil Zhang > Subject: [PATCH] usb: phy: initilize the notifier when add a new phy >

[PATCH v2] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
We need to initilize the notifer before use it. So lets initilize it when add a new phy device to reduce the code redundance. Signed-off-by: Neil Zhang --- drivers/usb/phy/phy-ab8500-usb.c|2 -- drivers/usb/phy/phy-generic.c |1 - drivers/usb/phy/phy-gpio-vbus-usb.c |2 --

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-10 Thread Vivek Gautam
Hi, On Tue, Dec 10, 2013 at 7:31 PM, Heikki Krogerus wrote: > Hi, Thanks for reviewing this. > > On Tue, Dec 10, 2013 at 04:25:23PM +0530, Vivek Gautam wrote: >> Some PHY controllers may need to tune PHY post-initialization, >> so that the PHY consumers can call phy-tuning at appropriate >> po

Re: [PATCH 1/1] AX88179_178A: Enable the hardware pseudo header in case of the NET_IP_ALIGN equals 0

2013-12-10 Thread Freddy Xin
On 2013年12月10日 09:01, David Miller wrote: From: fre...@asix.com.tw Date: Fri, 6 Dec 2013 17:58:18 +0800 From: Freddy Xin The AX88179_178A has a hardware feature that it can insert a 2-bytes pseudo header in front of each received frame by setting the AX_RX_CTL_IPE bit. This feature is used

RE: [PATCH] usb: phy: Initilize the spinlock in notifier

2013-12-10 Thread Neil Zhang
> -Original Message- > From: Neil Zhang [mailto:zhan...@marvell.com] > Sent: 2013年12月11日 13:05 > To: ba...@ti.com; gre...@linuxfoundation.org > Cc: linux-usb@vger.kernel.org; linux-ker...@vger.kernel.org; Neil Zhang > Subject: [PATCH] usb: phy: Initilize the spinlock in notifier > > We ne

[PATCH] usb: phy: initilize the notifier when add a new phy

2013-12-10 Thread Neil Zhang
We need to initilize the notifer before use it. So lets initilize it when add a new phy device to reduce the code redundance. Signed-off-by: Neil Zhang --- drivers/usb/phy/phy-ab8500-usb.c|2 -- drivers/usb/phy/phy-generic.c |1 - drivers/usb/phy/phy-gpio-vbus-usb.c |2 --

Re: [PATCH] phy: omap_usb2: fix module dependency

2013-12-10 Thread Kishon Vijay Abraham I
Hi Felipe, On Wednesday 11 December 2013 01:54 AM, Felipe Balbi wrote: > Due to over-use of select statements, we could > fall into a situation where CONFIG_USB_PHY would > be enabled while CONFIG_USB_SUPPORT wouldn't. > > This would generate a situation where usb_bind_phy() > would not be define

[PATCH] usb: phy: Initilize the spinlock in notifier

2013-12-10 Thread Neil Zhang
We need to initilize every spinlock before use it. So lets initilize the spinlock in notifier when add a new phy device. Signed-off-by: Neil Zhang --- drivers/usb/phy/phy.c |2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/phy/phy.c b/drivers/usb/phy/phy.c index 1b74523..479ce

[PATCH 2/2] usb: renesas_usbhs: remove original filter from usbhsf_dma_init()

2013-12-10 Thread Kuninori Morimoto
From: Kuninori Morimoto Remove original filter from usbhsf_dma_init(), and use SH-DMA suitable filter. Signed-off-by: Kuninori Morimoto --- drivers/usb/renesas_usbhs/fifo.c | 76 +++--- drivers/usb/renesas_usbhs/fifo.h |3 -- 2 files changed, 39 insertions

[PATCH 1/2] usb: renesas_usbhs: fifo: request DMAEngine once

2013-12-10 Thread Kuninori Morimoto
From: Kuninori Morimoto DMAEngine uses IRQ if dma_request_channel() was called, and it is using devm_request_irq() today, OTOH, dma_request_channel() will be called when each USB connection happened on this driver. This means same IRQ will be requested many times whenever each USB connected, and

[PATCH 0/2] usb: renesas_usbhs: DMAEngine cleanup

2013-12-10 Thread Kuninori Morimoto
Hi Felipe again # my previous email didn't include USB-ML These patches cleanup DMAEngine port on renesas_usbhs. #1 is bugfix patch #2 is new feature patch Kuninori Morimoto (2): usb: renesas_usbhs: fifo: request DMAEngine once usb: renesas_usbhs: remove original filter from usbhsf_

Re: [PATCH] usb: phy: fix driver dependencies

2013-12-10 Thread Felipe Balbi
On Tue, Dec 10, 2013 at 05:27:31PM -0800, Greg KH wrote: > On Tue, Dec 10, 2013 at 05:00:06PM -0600, Felipe Balbi wrote: > > both isp1301-omap and fsl_usb2_otg drivers > > depend on usb_bus_start_enum() which is only > > defined if CONFIG_USB != n. There is a problem, > > however, where both those

Re: [GIT PULL] usb: Enumeration change under xHCI for 3.14.

2013-12-10 Thread Greg Kroah-Hartman
On Tue, Dec 10, 2013 at 02:49:07PM -0800, Sarah Sharp wrote: > The following changes since commit 40fcd88b8d49fd911518190c985112097d3a8a17: > > USB: storage: fix compile warning (2013-12-09 23:45:39 -0800) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/ker

Re: [PATCH] usb: phy: fix driver dependencies

2013-12-10 Thread Greg KH
On Tue, Dec 10, 2013 at 05:00:06PM -0600, Felipe Balbi wrote: > both isp1301-omap and fsl_usb2_otg drivers > depend on usb_bus_start_enum() which is only > defined if CONFIG_USB != n. There is a problem, > however, where both those drivers could be > statically linked, while CONFIG_USB=m. > > Fix

Re: [PATCH] xhci: Add quirks module option

2013-12-10 Thread Greg Kroah-Hartman
On Tue, Dec 10, 2013 at 03:08:02PM -0800, Sarah Sharp wrote: > On Mon, Dec 09, 2013 at 12:42:48PM +0100, Takashi Iwai wrote: > > It makes easier for debugging some hardware specific issues. > > > > Note that this option won't override the value to be set. That is, > > you can turn quirks on by th

Re: [PATCH] xhci: Add quirks module option

2013-12-10 Thread Sarah Sharp
On Mon, Dec 09, 2013 at 12:42:48PM +0100, Takashi Iwai wrote: > It makes easier for debugging some hardware specific issues. > > Note that this option won't override the value to be set. That is, > you can turn quirks on by this option but cannot turn them off if set > by the driver. > > Signed-

Regarding xhci_reinit_cached_ring() implementation

2013-12-10 Thread hemantk
Hi Although xhci_reinit_cached_ring() is not getting called for usual cases. Only when xhci_ring_alloc() fails. But i see one problem with this function. This functions zeros out the all the segments of the ring and later calls xhci_link_segments() to fill segment ptr and TRB type. I think zeroing

[PATCH] usb: phy: fix driver dependencies

2013-12-10 Thread Felipe Balbi
both isp1301-omap and fsl_usb2_otg drivers depend on usb_bus_start_enum() which is only defined if CONFIG_USB != n. There is a problem, however, where both those drivers could be statically linked, while CONFIG_USB=m. Fix the problem by fixing driver dependency. Signed-off-by: Felipe Balbi ---

[PATCH 1/2] usb: xhci: change enumeration scheme to 'new scheme' by default

2013-12-10 Thread Sarah Sharp
From: Dan Williams Change the default enumeration scheme for xhci attached non-SuperSpeed devices from: Reset SetAddress [xhci address-device BSR = 0] GetDescriptor(8) GetDescriptor(18) ...to: Reset [xhci address-device BSR = 1] GetDescriptor(64) Reset SetAddress [xh

[PATCH 2/2] xhci: clarify logging in xhci_setup_device

2013-12-10 Thread Sarah Sharp
From: Dan Williams Specify whether we are only performing the context setup portion of the 'address device' command, or the full operation issuing 'SetAddress' on the wire. Signed-off-by: Dan Williams Signed-off-by: Sarah Sharp --- drivers/usb/host/xhci.c | 22 -- 1 file c

[GIT PULL] usb: Enumeration change under xHCI for 3.14.

2013-12-10 Thread Sarah Sharp
The following changes since commit 40fcd88b8d49fd911518190c985112097d3a8a17: USB: storage: fix compile warning (2013-12-09 23:45:39 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git tags/for-usb-next-2013-12-10 for you to fetch chan

[PATCH v7 2/2] usb-serial: Moxa UPORT 12XX/14XX/16XX driver

2013-12-10 Thread Andrew Lunn
Add a driver which supports the following Moxa USB to serial converters: * 2 ports : UPort 1250, UPort 1250I * 4 ports : UPort 1410, UPort 1450, UPort 1450I * 8 ports : UPort 1610-8, UPort 1650-8 * 16 ports : UPort 1610-16, UPort 1650-16 The UPORT devices don't directy fit t

[PATCH v7 1/2] tty: Add C_CMSPAR(tty)

2013-12-10 Thread Andrew Lunn
Add the missing C_CMSPAR(tty) macro. Signed-off-by: Andrew Lunn --- include/linux/tty.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/tty.h b/include/linux/tty.h index 97d660ed70c1..e53e90ed3f19 100644 --- a/include/linux/tty.h +++ b/include/linux/tty.h @@ -137,6 +137,7 @@ st

Re: [GIT PULL] xhci: Regression fix for 3.13

2013-12-10 Thread Greg Kroah-Hartman
On Tue, Dec 10, 2013 at 11:49:56AM -0800, Sarah Sharp wrote: > The following changes since commit 5a1e1456fc633da5291285b1fff75d2a7507375b: > > usb: chipidea: fix nobody cared IRQ when booting with host role (2013-12-09 > 13:14:12 -0800) > > are available in the git repository at: > > git:/

Re: [PATCH] usb: fix build error when USB=m && USB_OTG=y

2013-12-10 Thread Greg KH
On Tue, Dec 10, 2013 at 01:10:44PM -0600, Felipe Balbi wrote: > On Mon, Dec 09, 2013 at 09:09:10PM -0800, Greg KH wrote: > > On Mon, Dec 09, 2013 at 03:41:41PM -0600, Felipe Balbi wrote: > > > when any driver using usb_bus_start_enum() is > > > enabled in a build with CONFIG_USB=m, we will > > > ha

Re: [PATCH] phy: omap_usb2: fix module dependency

2013-12-10 Thread Tony Lindgren
* Felipe Balbi [131210 12:26]: > Due to over-use of select statements, we could > fall into a situation where CONFIG_USB_PHY would > be enabled while CONFIG_USB_SUPPORT wouldn't. > > This would generate a situation where usb_bind_phy() > would not be defined and kernel build for some > OMAP2PLUS

[PATCH] phy: omap_usb2: fix module dependency

2013-12-10 Thread Felipe Balbi
Due to over-use of select statements, we could fall into a situation where CONFIG_USB_PHY would be enabled while CONFIG_USB_SUPPORT wouldn't. This would generate a situation where usb_bind_phy() would not be defined and kernel build for some OMAP2PLUS platforms would fail. Fix this by replacing a

[GIT PULL] xhci: Regression fix for 3.13

2013-12-10 Thread Sarah Sharp
The following changes since commit 5a1e1456fc633da5291285b1fff75d2a7507375b: usb: chipidea: fix nobody cared IRQ when booting with host role (2013-12-09 13:14:12 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/sarah/xhci.git tags/for-usb-linus-2

[PATCH 1/1] xhci: Limit the spurious wakeup fix only to HP machines

2013-12-10 Thread Sarah Sharp
From: Takashi Iwai We've got regression reports that my previous fix for spurious wakeups after S5 on HP Haswell machines leads to the automatic reboot at shutdown on some machines. It turned out that the fix for one side triggers another BIOS bug in other side. So, it's exclusive. Since the o

Re: [PATCH v7 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-12-10 Thread David Cohen
/** + * usb_ep_align_maybe - returns @len aligned to ep's maxpacketsize if gadget + *requires quirk_ep_out_aligned_size, otherwise reguens len. >>> >>> “returns” >> >> I've got no idea how returns became reguens :) >> But maybe Felipe can fix it when applying? > > Sur

Re: [PATCH v7 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-12-10 Thread David Cohen
On 12/10/2013 07:01 AM, Michal Nazarewicz wrote: > On Tue, Dec 10 2013, David Cohen wrote: >> I've got no idea how returns became reguens :) > > The keys are like right next to each other . ;) I'll remember this excuse if I need some day :) > >> But maybe Felipe can fix i

Re: [PATCH] usb: fix build error when USB=m && USB_OTG=y

2013-12-10 Thread Felipe Balbi
On Mon, Dec 09, 2013 at 09:09:10PM -0800, Greg KH wrote: > On Mon, Dec 09, 2013 at 03:41:41PM -0600, Felipe Balbi wrote: > > when any driver using usb_bus_start_enum() is > > enabled in a build with CONFIG_USB=m, we will > > have a build error because of usb_bus_start_enum() > > will be compiled in

Re: Scanner works on EHCI port, fails on XHCI Port

2013-12-10 Thread Matthias Bläsing
Hey, On Mo, 2013-12-09 at 21:07 +0100, Matthias Bläsing wrote: > [USB Scanner working on EHCI port, but not on XHCI] some more info - sorry I should have provided that in the first place. The USB Host is a DELL E 5530 Notebook, with this hardware: matthias@athena:~$ lspci 00:00.0 Host bridge: I

Re: [PATCH RFC 2/4] xhci: Add quirk for DWC3-Exynos controller

2013-12-10 Thread Julius Werner
On Tue, Dec 10, 2013 at 2:55 AM, Vivek Gautam wrote: > The DWC3-exynos eXtensible host controller on Exynos5420 SoC > is quirky in a way that the PHY needs to be tuned to get it > working at SuperSpeed. > By default this PHY works as High-speed phy and therefore > detects even Super-speed devices

[PATCH] usb: wusbcore: add isochronous IN support to HWA

2013-12-10 Thread Thomas Pugliese
This patch adds support for isochronous IN transfers to the HWA driver. The changes include removing the checks that return errors for isoc IN URBs and adding functionality to read the isoc data returned from the HWA. Signed-off-by: Thomas Pugliese --- drivers/usb/wusbcore/wa-xfer.c | 305 +

RE: [PATCH] usb: wusbcore: fix short transfers

2013-12-10 Thread Thomas Pugliese
On Tue, 10 Dec 2013, David Laight wrote: > > From: Thomas Pugliese > > Sent: 09 December 2013 19:11 > > To: linux-usb@vger.kernel.org > > Cc: gre...@linuxfoundation.org; Thomas Pugliese > > Subject: [PATCH] usb: wusbcore: fix short transfers > > > > If a URB is broken up into multiple transfer

Re: Problem with Kingston MobileLite G3 SD card reader

2013-12-10 Thread Alan Stern
On Tue, 10 Dec 2013, Thomas Raschbacher wrote: > On 2013-12-09 19:21, Alan Stern wrote: > > On Mon, 9 Dec 2013, Thomas Raschbacher wrote: > > > >> On 2013-12-09 16:25, Alan Stern wrote: > >> > On Mon, 9 Dec 2013, Thomas Raschbacher wrote: > >> > >> Regards > >> P.S.: i forgot to mention, that I

Re: [PATCH v3 2/2] usb: phy: Add keystone usb phy driver

2013-12-10 Thread Santosh Shilimkar
On Monday 09 December 2013 11:47 PM, Felipe Balbi wrote: > Hi again, > > On Mon, Dec 09, 2013 at 05:17:04PM -0500, WingMan Kwok wrote: >> +static int keystone_usbphy_init(struct usb_phy *phy) >> +{ >> +struct keystone_usbphy *k_phy = dev_get_drvdata(phy->dev); >> +u32 val; >> + >> +val

Re: [PATCH v3 2/2] usb: phy: Add keystone usb phy driver

2013-12-10 Thread Santosh Shilimkar
On Monday 09 December 2013 09:54 PM, Balbi, Felipe wrote: > Hi, > > On Mon, Dec 09, 2013 at 05:17:04PM -0500, WingMan Kwok wrote: >> +ret = usb_add_phy_dev(&k_phy->usb_phy_gen.phy); >> +if (ret) >> +return ret; >> +k_phy->usb_phy_gen.phy.init = keystone_usbphy_init; >> +

Re: [PATCH v3 1/2] usb: dwc3: Add Keystone specific glue layer

2013-12-10 Thread Santosh Shilimkar
On Monday 09 December 2013 09:51 PM, Balbi, Felipe wrote: > Hi, > > On Mon, Dec 09, 2013 at 05:17:03PM -0500, WingMan Kwok wrote: >> +static void kdwc3_enable_irqs(struct dwc3_keystone *kdwc) >> +{ >> +u32 val; >> + >> +val = kdwc3_readl(kdwc->usbss, USBSS_IRQENABLE_SET_0); >> +val = U

Re: xhci_hcd debugging status, please?

2013-12-10 Thread Oliver Neukum
On Mon, 2013-12-09 at 16:29 +0100, Udo van den Heuvel wrote: > On 2013-12-09 08:53, Oliver Neukum wrote: > > You have XHCI debugging on. This is most likely a side effect > > of teh switch to dynamic debugging in 3.12. But this should be > > discussed on linux-usb. > > Thanks, but some of the mess

Re: [PATCH v7 2/5] usb: gadget: add quirk_ep_out_aligned_size field to struct usb_gadget

2013-12-10 Thread Michal Nazarewicz
On Tue, Dec 10 2013, David Cohen wrote: > I've got no idea how returns became reguens :) The keys are like right next to each other . ;) > But maybe Felipe can fix it when applying? -- Best regards, _ _ .o. | Liege of Serenely E

Re: [PATCH v3 07/10] drivers: phy: usb3/pipe3: Adapt pipe3 driver to Generic PHY Framework

2013-12-10 Thread Kishon Vijay Abraham I
Hi, On Friday 06 December 2013 08:05 PM, Roger Quadros wrote: > Hi Kishon, > > On 11/25/2013 12:01 PM, Kishon Vijay Abraham I wrote: >> Adapted omap-usb3 PHY driver to Generic PHY Framework and moved phy-omap-usb3 >> driver in drivers/usb/phy to drivers/phy and also renamed the file to >> phy-ti-

Re: [PATCH] net: sk == 0xffffffff fix - not for commit

2013-12-10 Thread Eric Dumazet
On Tue, 2013-12-10 at 07:55 +0100, Andrzej Pietrasiewicz wrote: > W dniu 09.12.2013 16:31, Eric Dumazet pisze: > > On Mon, 2013-12-09 at 12:47 +0100, Andrzej Pietrasiewicz wrote: > >> NOT FOR COMMITTING TO MAINLINE. > >> > >> With g_ether loaded the sk occasionally becomes 0x. > >> It happe

Re: [PATCH 3/7] USB: ehci-orion: use dev_warn() instead of printk()

2013-12-10 Thread Jason Cooper
On Tue, Dec 10, 2013 at 09:20:30PM +0900, Jingoo Han wrote: > Use dev_warn() instead of printk() to provide a better message > to userspace. > > Signed-off-by: Jingoo Han > --- > drivers/usb/host/ehci-orion.c |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Jason Cooper th

Re: [PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-10 Thread Heikki Krogerus
Hi, On Tue, Dec 10, 2013 at 04:25:23PM +0530, Vivek Gautam wrote: > Some PHY controllers may need to tune PHY post-initialization, > so that the PHY consumers can call phy-tuning at appropriate > point of time. > > Signed-off-by: vivek Gautam > --- > drivers/phy/phy-core.c | 20 +

Re: [PATCH RFC 3/4] xhci: Tune PHY for the DWC3-Exynos host controller

2013-12-10 Thread Heikki Krogerus
Hi, On Tue, Dec 10, 2013 at 04:25:25PM +0530, Vivek Gautam wrote: > @@ -170,6 +189,15 @@ static int xhci_plat_probe(struct platform_device *pdev) > } > > /* > + * The parent of the xhci-plat device may pass in a PHY via > + * platform data. If it exists, store it in our st

[PATCH 7/7] USB: ohci-ppc-of: use dev_err() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_err() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-ppc-of.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ohci-ppc-of.c b/drivers/usb/host/ohci-ppc-of.c index 83e33d4..2

[PATCH 6/7] USB: ohci-omap: use dev_err() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_err() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ohci-omap.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ohci-omap.c b/drivers/usb/host/ohci-omap.c index a44a4fe..c923caf 100

[PATCH 5/7] USB: ehci-xilinx-of: use dev_err() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_err() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-xilinx-of.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-xilinx-of.c b/drivers/usb/host/ehci-xilinx-of.c index 3cd2ef

[PATCH 4/7] USB: ehci-ppc-of: use dev_err() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_err() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-ppc-of.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-ppc-of.c b/drivers/usb/host/ehci-ppc-of.c index b0965eb..5479247

[PATCH 3/7] USB: ehci-orion: use dev_warn() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_warn() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-orion.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index aa8b92b..4ca6120 100

[PATCH 2/7] USB: ehci-grlib: use dev_err() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_err() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-grlib.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-grlib.c b/drivers/usb/host/ehci-grlib.c index 054792c..495b6fb 10

[PATCH 1/7] USB: ehci-fsl: use dev_warn() instead of printk()

2013-12-10 Thread Jingoo Han
Use dev_warn() instead of printk() to provide a better message to userspace. Signed-off-by: Jingoo Han --- drivers/usb/host/ehci-fsl.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 854a68f..7cd23b6 100644 --

[PATCH 1/4] closing uvc file when init fails

2013-12-10 Thread Robert Baldyga
This patch adds uvc device file closing when inits in uvc_open() function fails. Signed-off-by: Robert Baldyga --- uvc-gadget.c |1 + 1 file changed, 1 insertion(+) diff --git a/uvc-gadget.c b/uvc-gadget.c index 0764838..5512e2c 100644 --- a/uvc-gadget.c +++ b/uvc-gadget.c @@ -880,6 +880,7

[PATCH 4/4] remove flooding debugs

2013-12-10 Thread Robert Baldyga
Those debugs are printed very often killing the efficiency, so they should be removed from final code. Signed-off-by: Robert Baldyga --- uvc-gadget.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/uvc-gadget.c b/uvc-gadget.c index 8f06a1f..4ff0d80 100644 -

[PATCH 2/4] remove set_format from uvc_events_process_data

2013-12-10 Thread Robert Baldyga
Format is based on application parameters, and it stay unchanged, so we don't need to do uvc_video_set_format() and v4l2_set_format() in uvc_events_process_data() function. In addition it allow us to do VIDIOC_REQBUFS ioctl once at the beginning, and skip it in STREAMON and STREAMOFF events. Sign

[PATCH 3/4] fix v4l2 stream handling

2013-12-10 Thread Robert Baldyga
This patch fixes v4l2 stream handling. It improves few things: - Fix dqbuf_count check in v4l2_process_data() function. - Removes freeing v4l2 device buffers in STREAMOFF event. It's because this buffers are requested once at the beginning, and it's not needed to free them on STREAMOFF and re

[PATCH 0/4] Bugfixes for UVC gadget test application

2013-12-10 Thread Robert Baldyga
Hello, This patchset fixes UVC gadget test application, created by Laurent Pinchart (git tree available here: git://git.ideasonboard.org/uvc-gadget.git), with applied patches created by Bhupesh Sharma (which can be found here: http://www.spinics.net/lists/linux-usb/msg84376.html). It improves vid

Re: [PATCH] usb-storage: scsiglue: Changing the command result

2013-12-10 Thread Vishal Annapurve
Hi Greg, There was problem with my email client. Hope now it is fine. --- [PATCH 1/3] usb: storage: Proper cmd result assignment This change replaces DID_ABORT with DID_TIMEOUT as a command result whenever US_FLIDX_TIMED_OUT bit is set. This change is made to bring USB storage inline with a rec

[PATCH RFC 2/4] xhci: Add quirk for DWC3-Exynos controller

2013-12-10 Thread Vivek Gautam
The DWC3-exynos eXtensible host controller on Exynos5420 SoC is quirky in a way that the PHY needs to be tuned to get it working at SuperSpeed. By default this PHY works as High-speed phy and therefore detects even Super-speed devices as high-speed ones. So, the PHY needs to be tuned after controll

[PATCH RFC 4/4] phy-exynos-usb3: Fine tune LOS levels for exynos5420

2013-12-10 Thread Vivek Gautam
Adding phy tune callback, which facilitates tuning USB 3.0 PHY present on Exynos5420. Basically, Exynos5420 has 28nm PHY for which Loss-of-Signal (LOS) Detector Threshold Level should be controlled for Super-Speed operations. We are using CR_port for this purpose to send required data to override t

[PATCH RFC 3/4] xhci: Tune PHY for the DWC3-Exynos host controller

2013-12-10 Thread Vivek Gautam
The DWC3-exynos eXtensible host controller on Exynos5420 SoC is quirky in a way that the PHY needs to be tuned to get it working at SuperSpeed. Add relevant calls for tuning the PHY for DWC3-Exynos's host controller, for that matter passing just USB3 PHY from DWC3 core, which is saved in secondary

[PATCH RFC 1/4] phy: Add provision for tuning phy.

2013-12-10 Thread Vivek Gautam
Some PHY controllers may need to tune PHY post-initialization, so that the PHY consumers can call phy-tuning at appropriate point of time. Signed-off-by: vivek Gautam --- drivers/phy/phy-core.c | 20 include/linux/phy/phy.h |7 +++ 2 files changed, 27 insertions(+

[PATCH RFC 0/4] Fine tune USB 3.0 PHY on exynos5420

2013-12-10 Thread Vivek Gautam
The DWC3-exynos eXtensible host controller present on Exynos5420 SoC is quirky. The PHY serving this controller operates at High-Speed by default, so it detects even Super-speed devices as high-speed ones. This PHY needs to be tuned for its Tx LOS levels and Boost levels. In this patch-set, we are

RE: [PATCH] usb: wusbcore: fix short transfers

2013-12-10 Thread David Laight
> From: Thomas Pugliese > Sent: 09 December 2013 19:11 > To: linux-usb@vger.kernel.org > Cc: gre...@linuxfoundation.org; Thomas Pugliese > Subject: [PATCH] usb: wusbcore: fix short transfers > > If a URB is broken up into multiple transfer segments and a short > transfer occurs in any segment othe