Re: [PATCH v3 05/19] usb: dwc3: add lpm erratum support

2014-10-29 Thread Huang Rui
On Tue, Oct 28, 2014 at 10:30:50AM -0600, Bjorn Helgaas wrote: > On Tue, Oct 28, 2014 at 5:54 AM, Huang Rui wrote: > > When parameter DWC_USB3_LPM_ERRATA_ENABLE is enabled in Andvanced > > "Advanced" > > > Configuration of coreConsultant, it supports of xHCI BESL Errata Dated > > I can't parse

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-29 Thread Jani Nikula
On Wed, 29 Oct 2014, Michael Ellerman wrote: > On Tue, 2014-10-28 at 13:29 -0700, Randy Dunlap wrote: >> On 10/27/14 06:13, Tomi Valkeinen wrote: >> > I also think the 'depends on BACKLIGHT_CLASS_DEVICE || >> > BACKLIGHT_CLASS_DEVICE=n' pattern is quite... interesting (i.e. sounds >> > like a hack

usbserial / ftdi_sio (+ others) bug?

2014-10-29 Thread Janne Huttunen
I own a device that implements a data logging interface using the FT232 USB-serial -chip. Very often it happens that connecting the associated software with the device requires multiple attempts. There seems to be two kinds of issues; either the program reports that it did not receive any data or i

[PATCH 3/5] USB: kobil_sct: replace unnecessary atomic allocation

2014-10-29 Thread Johan Hovold
Use GFP_KERNEL instead of GFP_ATOMIC for allocation in open(), which may sleep. Signed-off-by: Johan Hovold --- drivers/usb/serial/kobil_sct.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/serial/kobil_sct.c b/drivers/usb/serial/kobil_sct.c index 02c420af251e..2

[PATCH 2/5] USB: opticon: fix non-atomic allocation in write path

2014-10-29 Thread Johan Hovold
Write may be called from interrupt context so make sure to use GFP_ATOMIC for all allocations in write. Fixes: 0d930e51cfe6 ("USB: opticon: Add Opticon OPN2001 write support") Cc: stable Signed-off-by: Johan Hovold --- drivers/usb/serial/opticon.c | 2 +- 1 file changed, 1 insertion(+), 1 delet

[PATCH 1/5] USB: kobil_sct: fix non-atomic allocation in write path

2014-10-29 Thread Johan Hovold
Write may be called from interrupt context so make sure to use GFP_ATOMIC for all allocations in write. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable Signed-off-by: Johan Hovold --- drivers/usb/serial/kobil_sct.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dri

[PATCH 4/5] USB: mos7720: replace unnecessary atomic allocations

2014-10-29 Thread Johan Hovold
Use GFP_KERNEL instead of GFP_ATOMIC for allocations in set_termios and port-setting helper which both may and do sleep. Signed-off-by: Johan Hovold --- drivers/usb/serial/mos7720.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7720.c b/drivers/usb

[PATCH 5/5] USB: mos7840: replace unnecessary atomic allocations

2014-10-29 Thread Johan Hovold
Use GFP_KERNEL instead of GFP_ATOMIC for allocations in set_termios and port-setting helper which both may and do sleep. Signed-off-by: Johan Hovold --- drivers/usb/serial/mos7840.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/serial/mos7840.c b/drivers/usb

Re: [PATCH v3 13/19] usb: dwc3: add tx demphasis quirk

2014-10-29 Thread Huang Rui
On Tue, Oct 28, 2014 at 01:43:03PM -0500, Felipe Balbi wrote: > On Tue, Oct 28, 2014 at 10:27:27AM -0600, Bjorn Helgaas wrote: > > On Tue, Oct 28, 2014 at 5:54 AM, Huang Rui wrote: > > > This patch adds Tx demphasis quirk, and the Tx demphasis value is > > > > "demphasis" (above and in subject) s

Re: [PATCH] drivers: depend on instead of select BACKLIGHT_CLASS_DEVICE and ACPI_VIDEO

2014-10-29 Thread Michael Ellerman
On Wed, 2014-10-29 at 09:54 +0200, Jani Nikula wrote: > On Wed, 29 Oct 2014, Michael Ellerman wrote: > > On Tue, 2014-10-28 at 13:29 -0700, Randy Dunlap wrote: > >> On 10/27/14 06:13, Tomi Valkeinen wrote: > >> > I also think the 'depends on BACKLIGHT_CLASS_DEVICE || > >> > BACKLIGHT_CLASS_DEVICE=

[patch] USB: HWA: fix a warning message

2014-10-29 Thread Dan Carpenter
We wanted to print the version as (major).(minor) but because the shift operation is higher precedence than the mask then we print (minor).(minor). Signed-off-by: Dan Carpenter diff --git a/drivers/usb/host/hwa-hc.c b/drivers/usb/host/hwa-hc.c index d0d8fad..1db0626 100644 --- a/drivers/usb/host

Re: usbserial / ftdi_sio (+ others) bug?

2014-10-29 Thread Johan Hovold
[ +CC: Peter, linux-serial ] On Wed, Oct 29, 2014 at 10:07:26AM +0200, Janne Huttunen wrote: > I own a device that implements a data logging interface using the > FT232 USB-serial -chip. Very often it happens that connecting the > associated software with the device requires multiple attempts. > T

[GIT PULL] USB-serial fixes for v3.18-rc3

2014-10-29 Thread Johan Hovold
Hi Greg, Here's a bunch of new device ids and one unused-allocation removal for 3.18. Thanks, Johan The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: Linux 3.18-rc1 (2014-10-19 18:08:38 -0700) are available in the git repository at: git://git.kernel.org/pub/sc

Re: [PATCH v3 19/19] usb: dwc3: add support for AMD NL platform

2014-10-29 Thread Huang Rui
Hi Felipe, Paul, On Tue, Oct 28, 2014 at 10:35:37PM +0800, Huang Rui wrote: > On Tue, Oct 28, 2014 at 08:38:56AM -0500, Felipe Balbi wrote: > > > > however, as I mentioned before, the core shouldn't have to know that > > it's running on an AMD platform. We already support several different > >

Re: usbserial / ftdi_sio (+ others) bug?

2014-10-29 Thread Janne Huttunen
On Wed, Oct 29, 2014 at 10:51 AM, Johan Hovold wrote: > Having the driver not reporting overrun (and other) errors will > obviously not fix the underlying issue with your device, which is > generating all these errors in the first place. Yes, although that might be related to the other fault I ha

Re: [PATCH RESEND V4 5/9] of: Add NVIDIA Tegra xHCI controller binding

2014-10-29 Thread Thierry Reding
On Tue, Oct 28, 2014 at 03:27:50PM -0700, Andrew Bresticker wrote: [...] > diff --git > a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt > b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt [...] > +Optional properties: > +--- >

Re: [PATCH RESEND V4 5/9] of: Add NVIDIA Tegra xHCI controller binding

2014-10-29 Thread Thierry Reding
On Tue, Oct 28, 2014 at 03:27:52PM -0700, Andrew Bresticker wrote: [...] > diff --git a/Documentation/devicetree/bindings/usb/nvidia,tegra124-xhci.txt > b/Documentation/devicetree/bindings/usb/nvidia,tegra124-xhci.txt [...] > +- pll_u_480m > +- clk_m > +- pll_e What are these used for

Re: [PATCH RESEND V4 6/9] usb: xhci: Add NVIDIA Tegra xHCI host-controller driver

2014-10-29 Thread Thierry Reding
On Tue, Oct 28, 2014 at 03:27:53PM -0700, Andrew Bresticker wrote: [...] > diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c [...] > +#define TEGRA_XHCI_NUM_SUPPLIES 8 > +static const char *tegra_xhci_supply_names[TEGRA_XHCI_NUM_SUPPLIES] = { > + "avddio-pex", > + "

Re: [PATCH v2 2/2] ARM: shmobile: lager: enable USB3.0

2014-10-29 Thread Yoshihiro Shimoda
Hi Magnus-san, (2014/10/29 15:53), Magnus Damm wrote: > On Fri, Oct 24, 2014 at 7:41 PM, Yoshihiro Shimoda > wrote: >> Since the PHY of USB3.0 and EHCI/OHCI ch2 are the same, the USB3.0 >> driver cannot use the phy driver when the EHCI/OHCI ch2 already used it: >> >> phy phy-e6590100.usb-phy.3: p

Re: [PATCH RESEND V4 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-10-29 Thread Thierry Reding
On Tue, Oct 28, 2014 at 03:27:49PM -0700, Andrew Bresticker wrote: [...] > diff --git a/drivers/mailbox/tegra-xusb-mailbox.c > b/drivers/mailbox/tegra-xusb-mailbox.c [...] > +struct tegra_xusb_mbox { > + struct mbox_controller mbox; > + int irq; It seems like this is unused outside of teg

Re: usb media detection issue on USB_MUSB_HDRC on kernel 3.17

2014-10-29 Thread Enric Balletbo Serra
Hi all, 2014-10-26 10:10 GMT+01:00 Angelo Dureghello : > Had some progresses: > > on kernel 3.17, musb controller driver is set to start as OTG mode as > default. So as first thing, since my board has ID pin shorted to ground, i > changed the default mode to MUSB_HOST., as it was on kernel 3.5.1 >

Re: usbserial / ftdi_sio (+ others) bug?

2014-10-29 Thread Peter Hurley
On 10/29/2014 04:51 AM, Johan Hovold wrote: > [ +CC: Peter, linux-serial ] > > On Wed, Oct 29, 2014 at 10:07:26AM +0200, Janne Huttunen wrote: >> I own a device that implements a data logging interface using the >> FT232 USB-serial -chip. Very often it happens that connecting the >> associated sof

Re: [PATCH RESEND V4 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-10-29 Thread Thierry Reding
On Tue, Oct 28, 2014 at 03:27:51PM -0700, Andrew Bresticker wrote: [...] > diff --git a/drivers/pinctrl/Kconfig b/drivers/pinctrl/Kconfig > index c6a66de..0f4cdef 100644 > --- a/drivers/pinctrl/Kconfig > +++ b/drivers/pinctrl/Kconfig > @@ -163,6 +163,7 @@ config PINCTRL_TEGRA_XUSB > select GE

Re: usb media detection issue on USB_MUSB_HDRC on kernel 3.17

2014-10-29 Thread Ruslan Bilovol
Hi Enric On Wed, Oct 29, 2014 at 1:44 PM, Enric Balletbo Serra wrote: > > Hi all, > > 2014-10-26 10:10 GMT+01:00 Angelo Dureghello : > > Had some progresses: > > > > on kernel 3.17, musb controller driver is set to start as OTG mode as > > default. So as first thing, since my board has ID pin sho

Re: [PATCHv6 8/8] usb: dwc2: move usb_disabled() call to host driver only

2014-10-29 Thread Dinh Nguyen
On 10/28/14, 8:26 PM, Paul Zimmerman wrote: >> From: dingu...@opensource.altera.com [mailto:dingu...@opensource.altera.com] >> Sent: Tuesday, October 28, 2014 4:26 PM >> >> Now that platform.c will get built for both Host and Gadget, if we leave the >> usb_disabled() call in platform.c, it result

[PATCH v2] cdc-acm: ensure that termios get set when the port is activated

2014-10-29 Thread Jim Paris
The driver wasn't properly configuring the hardware for the current termios settings under all conditions. Ensure that termios are written to the device when the port is activated. Signed-off-by: Jim Paris --- Peter Hurley wrote: > Yeah, you're right that the cdc-acm driver isn't properly confi

[RFC PATCH v2 0/2] add power manage for dwc2 hcd

2014-10-29 Thread Kever Yang
This patchset add clock manage and suspend/resume for dwc2. Based on Dinh's patch "usb: dwc2: Add support for dual role". Because the system suspend/resume on my platform still not ready, and the 'suspend' can't be used in power/control node, and the auto suspend seems not work, could anyone told

[RFC PATCH v2 1/2] usb: dwc2: add bus suspend/resume for dwc2

2014-10-29 Thread Kever Yang
This patch adds suspend/resume for dwc2 hcd controller. Signed-off-by: Kever Yang --- Changes in v2: - remove the clock from hcd - adjust the delay time when resume drivers/usb/dwc2/hcd.c | 75 ++ 1 file changed, 64 insertions(+), 11 deletions(-)

[RFC PATCH v2 2/2] usb: dwc2: move the clock management from gadget to platform

2014-10-29 Thread Kever Yang
This patch move clock management out of gadget into platform, make both hcd and gadget can use the clock. Signed-off-by: Kever Yang --- Changes in v2: - move all the clock operation into platform drivers/usb/dwc2/gadget.c | 24 ++-- drivers/usb/dwc2/platform.c | 32 ++

Re: [PATCH v3 19/19] usb: dwc3: add support for AMD NL platform

2014-10-29 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 05:13:43PM +0800, Huang Rui wrote: > Hi Felipe, Paul, > > On Tue, Oct 28, 2014 at 10:35:37PM +0800, Huang Rui wrote: > > On Tue, Oct 28, 2014 at 08:38:56AM -0500, Felipe Balbi wrote: > > > > > > > > > however, as I mentioned before, the core shouldn't have to know that

[PATCH v2] usb: dwc3: gadget: WARN() on bogus usb_ep_queue()

2014-10-29 Thread Felipe Balbi
Some gadget/function drivers might want to do improper request recycling by allocating a single request from one particular endpoint and queueing it to another completely unrelated endpoint. One such case was found with f_loopback.c. To prevent such cases from happening again, let's WARN() so we

[PATCH] usb: gadget: fix ptr_ret.cocci warnings

2014-10-29 Thread Fengguang Wu
drivers/usb/gadget/udc/r8a66597-udc.c:1849:1-3: WARNING: PTR_ERR_OR_ZERO can be used Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR Generated by: scripts/coccinelle/api/ptr_ret.cocci Signed-off-by: Fengguang Wu --- r8a66597-udc.c |5 + 1 file changed, 1 insertion(+), 4 de

Re: [PATCH v3 19/19] usb: dwc3: add support for AMD NL platform

2014-10-29 Thread Huang Rui
On Wed, Oct 29, 2014 at 09:11:46AM -0500, Felipe Balbi wrote: > On Wed, Oct 29, 2014 at 05:13:43PM +0800, Huang Rui wrote: > > Hi Felipe, Paul, > > > > On Tue, Oct 28, 2014 at 10:35:37PM +0800, Huang Rui wrote: > > > On Tue, Oct 28, 2014 at 08:38:56AM -0500, Felipe Balbi wrote: > > > > > > > >

Re: differing sector sizes between USB enclosures.

2014-10-29 Thread Mark Knibbs
On Tue, 28 Oct 2014, Alan Stern wrote: > On Tue, 28 Oct 2014, Dave Jones wrote: > > > > I had a USB2 enclosure that I put a disk into and used for a few years. > > It reports my 3TB drive like so.. > > ... > > sd 11:0:0:0: [sdc] 732566646 4096-byte logical blocks: (3.00 TB/2.72 TiB) > > sd 11:0:0:0

Re: [PATCH v3 19/19] usb: dwc3: add support for AMD NL platform

2014-10-29 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 10:33:19PM +0800, Huang Rui wrote: > On Wed, Oct 29, 2014 at 09:11:46AM -0500, Felipe Balbi wrote: > > On Wed, Oct 29, 2014 at 05:13:43PM +0800, Huang Rui wrote: > > > Hi Felipe, Paul, > > > > > > On Tue, Oct 28, 2014 at 10:35:37PM +0800, Huang Rui wrote: > > > > On Tue, Oc

Re: [PATCH v2] cdc-acm: ensure that termios get set when the port is activated

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 09:43:41AM -0400, Jim Paris wrote: > The driver wasn't properly configuring the hardware for the current > termios settings under all conditions. Ensure that termios are > written to the device when the port is activated. > > Signed-off-by: Jim Paris > --- > > Peter Hurl

[PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
Make sure to only raise DTR on transitions from B0 in set_termios. Also allow set_termios to be called from open with a termios_old of NULL. Note that DTR will not be raised prematurely in this case. Signed-off-by: Johan Hovold --- drivers/usb/class/cdc-acm.c | 5 +++-- 1 file changed, 3 insert

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: > Make sure to only raise DTR on transitions from B0 in set_termios. > > Also allow set_termios to be called from open with a termios_old of > NULL. Note that DTR will not be raised prematurely in this case. > > Signed-off-by: Johan Ho

[PATCH usb 01/32] host: ehci-atmel: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-atmel.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ehci-atmel.c b/drivers/usb/host/ehci-atmel.c index ec9f7b7..56a885

[PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Varka Bhadram
This series removes the duplication of sanity check for platform_get_resource() return resource. It will be checked with devm_ioremap_resource() This series based on usb/master. Varka Bhadram (32): host: ehci-atmel: remove duplicate check on resource host: ehci-exynos: remove duplicate check

[PATCH usb 02/32] host: ehci-exynos: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-exynos.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ehci-exynos.c b/drivers/usb/host/ehci-exynos.c index 7189f2e..c2777d

[PATCH usb 05/32] dwc3: dwc3-keystone: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/dwc3/dwc3-keystone.c |5 - 1 file changed, 5 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-keystone.c b/drivers/usb/dwc3/dwc3-keystone.c index 7ec8495..d

[PATCH usb 03/32] host: ehci-fsl: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-fsl.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ehci-fsl.c b/drivers/usb/host/ehci-fsl.c index 2d2ae8d..fb7bd0c 100644

[PATCH usb 06/32] renesas_usbhs: common: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/renesas_usbhs/common.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/comm

[PATCH usb 11/32] host: uhci-platform: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Also fix in accessing NULL if resource didn't get. Signed-off-by: Varka Bhadram --- drivers/usb/host/uhci-platform.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/usb/h

[PATCH usb 09/32] musb: musb_core: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/musb/musb_core.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index b841ee

[PATCH usb 10/32] host: xhci-plat: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/xhci-plat.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index

[PATCH usb 04/32] dwc3: core: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/dwc3/core.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/drivers/usb/dwc3/core.c b/drivers/usb/dwc3/core.c index b0f4d

[PATCH usb 07/32] phy: phy-rcar-usb: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/phy/phy-rcar-usb.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/phy/phy-rcar-usb.c b/drivers/usb/phy/phy-rcar-usb.c in

[PATCH usb 08/32] musb: musb_dsps: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/musb/musb_dsps.c |3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c index 154bcf1..cce99e1 100644

[PATCH usb 12/32] host: ohci-st: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-st.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-st.c b/drivers/usb/host/ohci-st.c index df9

[PATCH usb 22/32] host: ehci-w90x900: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-w90x900.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ehci-w90x900.c b/drivers/usb/host/ehci-w90x900.c index a9303af..

Re: [PATCH] USB: cdc-acm: only raise DTR on transitions from B0

2014-10-29 Thread Johan Hovold
On Wed, Oct 29, 2014 at 11:56:02PM +0800, Greg Kroah-Hartman wrote: > On Wed, Oct 29, 2014 at 04:30:40PM +0100, Johan Hovold wrote: > > Make sure to only raise DTR on transitions from B0 in set_termios. > > > > Also allow set_termios to be called from open with a termios_old of > > NULL. Note that

[PATCH usb 17/32] host: ohci-octeon: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-octeon.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-octeon.c b/drivers/usb/host/ohci-octeon.

[PATCH usb 14/32] host: ehci-sh: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-sh.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/drivers/usb/host/ehci-sh.c b/drivers/usb/host/ehci-sh.c index

[PATCH usb 15/32] host: ohci-pxa27x: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-pxa27x.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-pxa27x.c b/drivers/usb/host/ohci-pxa27x.c

[PATCH usb 20/32] host: ohci-da8xx: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-da8xx.c |7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/usb/host/ohci-da8xx.c b/drivers/usb/host/ohci-da8xx.c index

[PATCH usb 27/32] host: ehci-platform: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-platform.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c index 2f5b9ce.

[PATCH usb 13/32] host: ohci-spear: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-spear.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ohci-spear.c b/drivers/usb/host/ohci-spear.c in

[PATCH usb 24/32] host: ehci-st: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-st.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ehci-st.c b/drivers/usb/host/ehci-st.c index 7e4bd39..4c12cd1 100644 --

[PATCH usb 23/32] host: ehci-tegra: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-tegra.c | 10 +++--- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/ehci-tegra.c b/drivers/usb/host/ehci-tegra.c index aaa0197..eb36b7a 10

[PATCH usb 30/32] host: ehci-mxc: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-mxc.c | 11 ++- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index dbe5e4e..c7a9b31 100644

[PATCH usb 32/32] host: ehci-msm: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-msm.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ehci-msm.c b/drivers/usb/host/ehci-msm.c index 9dc2118..9db74ca 100644 -

[PATCH usb 25/32] host: ehci-spear: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-spear.c |9 ++--- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/drivers/usb/host/ehci-spear.c b/drivers/usb/host/ehci-spear.c index 1355ff0..34e1474 100

[PATCH usb 18/32] host: ohci-jz4740: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-jz4740.c | 13 +++-- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/drivers/usb/host/ohci-jz4740.c b/drivers/usb/host/ohci-jz474

[PATCH usb 28/32] host: ehci-orion: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-orion.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/usb/host/ehci-orion.c b/drivers/usb/host/ehci-orion.c index 22e15ca..36b4657 100

[PATCH usb 26/32] host: ehci-sead3: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-sead3.c |5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/usb/host/ehci-sead3.c b/drivers/usb/host/ehci-sead3.c index cf12676..9b6e8d0 100644

[PATCH usb 31/32] host: ehci-mv: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-mv.c | 12 1 file changed, 12 deletions(-) diff --git a/drivers/usb/host/ehci-mv.c b/drivers/usb/host/ehci-mv.c index 08147c3..62797eb 100644 --- a/drivers/usb/

[PATCH usb 29/32] host: ehci-octeon: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ehci-octeon.c | 12 +++- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ehci-octeon.c b/drivers/usb/host/ehci-octeon.c index 9051439..2d0c4

[PATCH usb 16/32] host: ohci-platform: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-platform.c | 13 - 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/drivers/usb/host/ohci-platform.c b/drivers/usb/host/ohci-pl

[PATCH usb 19/32] host: ohci-exynos: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-exynos.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ohci-exynos.c b/drivers/usb/host/ohci-exynos.c

[PATCH usb 21/32] host: ohci-at91: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/host/ohci-at91.c | 11 +++ 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/usb/host/ohci-at91.c b/drivers/usb/host/ohci-at91.c index e49eb4f..90666ea 1006

Re: [GIT PULL] USB-serial fixes for v3.18-rc3

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 10:11:41AM +0100, Johan Hovold wrote: > Hi Greg, > > Here's a bunch of new device ids and one unused-allocation removal for > 3.18. > > Thanks, > Johan > > > The following changes since commit f114040e3ea6e07372334ade75d1ee0775c355e1: > > Linux 3.18-rc1 (2014-10-19 1

Re: [PATCH RESEND V4 5/9] of: Add NVIDIA Tegra xHCI controller binding

2014-10-29 Thread Andrew Bresticker
On Wed, Oct 29, 2014 at 2:43 AM, Thierry Reding wrote: > On Tue, Oct 28, 2014 at 03:27:50PM -0700, Andrew Bresticker wrote: > [...] >> diff --git >> a/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-padctl.txt >> b/Documentation/devicetree/bindings/pinctrl/nvidia,tegra124-xusb-pad

Re: FTDI driver in Linux

2014-10-29 Thread Johan Hovold
On Thu, Oct 16, 2014 at 02:21:02PM +0200, Johan Hovold wrote: > On Thu, Oct 16, 2014 at 02:55:22PM +0400, Victor Ashik wrote: > > 16.10.2014 14:02, Johan Hovold пишет: > > > On Thu, Oct 16, 2014 at 12:47:05PM +0400, Victor Ashik wrote: > > [91798.346109] usbserial: unknown parameter 'debug' ignored

Re: [PATCH] usb: gadget: Add UDC driver for Broadcom USB3.0 device controller IP BDC

2014-10-29 Thread Ashwini Pahuja
On Tue, Oct 14, 2014 at 11:53 AM, Felipe Balbi wrote: > Hi, sorry for my late response, I was pulled into some other activity. I will be sending out v2 patch this week. > > On Tue, Oct 14, 2014 at 11:30:40AM -0700, Ashwini Pahuja wrote: > > > >> > > +/* Upstream port status change sr */ >> > > +v

Re: [PATCH RESEND V4 2/9] mailbox: Add NVIDIA Tegra XUSB mailbox driver

2014-10-29 Thread Andrew Bresticker
>> + for (i = 0; i < ARRAY_SIZE(mbox->vchan_allocated); i++) { >> + if (mbox->vchan_allocated[i]) >> + mbox_chan_received_data(&mbox->mbox.chans[i], &msg); >> + } > > It seems like the only reason why you need to explicitly check for an > allocated channel is

Re: [PATCH net-next 0/2] r8152: support nway_reset

2014-10-29 Thread David Miller
From: Hayes Wang Date: Tue, 28 Oct 2014 14:05:50 +0800 > Fix the CHECK from checkpatch.pl and support nway_reset. Series applied, thanks. -- 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 http://v

Re: [PATCH RESEND V4 4/9] pinctrl: tegra-xusb: Add USB PHY support

2014-10-29 Thread Andrew Bresticker
>> diff --git a/drivers/pinctrl/pinctrl-tegra-xusb.c >> b/drivers/pinctrl/pinctrl-tegra-xusb.c > [...] >> struct tegra_xusb_padctl_function { >> const char *name; >> const char * const *groups; >> @@ -72,6 +222,16 @@ struct tegra_xusb_padctl_soc { >> >> const struct tegra_xusb_p

Re: [PATCH usb 06/32] renesas_usbhs: common: remove duplicate check on resource

2014-10-29 Thread Sergei Shtylyov
Hello. On 10/29/2014 07:00 PM, Varka Bhadram wrote: From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/renesas_usbhs/common.c |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/driv

[PATCH v1] usb: gadget: pxa27x_udc: fix warning in non device-tree build

2014-10-29 Thread Robert Jarzmik
The recent change bringing device-tree support triggers a warning in a non device-tree build : drivers/usb/gadget/udc/pxa27x_udc.c:2405:28: warning: 'udc_pxa_dt_ids' defined but not used [-Wunused-variable] Fix the warning with a preprocessor condition. Signed-off-by: Robert Jarzmik --- dri

Re: [PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Alan Stern
On Wed, 29 Oct 2014, Varka Bhadram wrote: > This series removes the duplication of sanity check for > platform_get_resource() return resource. It will be checked > with devm_ioremap_resource() > > This series based on usb/master. > > Varka Bhadram (32): > host: ehci-atmel: remove duplicate ch

[PATCH] USB: simple: add Google simple serial SubClass support

2014-10-29 Thread Anton Staaf
Add support for Google devices that export simple serial interfaces using the vendor specific SubClass/Protocol pair 0x50/0x01. Signed-off-by: Anton Staaf --- drivers/usb/serial/usb-serial-simple.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/usb/serial/usb-serial-si

Potential USB PHY error handling fix for stable

2014-10-29 Thread Mark Brown
Hi, One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb: phy: return -ENODEV on failure of try_module_get) as a fix for the stable kernel. While it's error handling that's being fixed this does seem like a reasonable candidate, it's a very simple fix and the behaviour without

Re: Potential USB PHY error handling fix for stable

2014-10-29 Thread Greg Kroah-Hartman
On Wed, Oct 29, 2014 at 10:10:12PM +, Mark Brown wrote: > Hi, > > One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb: > phy: return -ENODEV on failure of try_module_get) as a fix for the > stable kernel. While it's error handling that's being fixed this does > seem like a

Re: Potential USB PHY error handling fix for stable

2014-10-29 Thread Mark Brown
On Wed, Oct 29, 2014 at 03:30:18PM -0700, Greg Kroah-Hartman wrote: > On Wed, Oct 29, 2014 at 10:10:12PM +, Mark Brown wrote: > > One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb: > > phy: return -ENODEV on failure of try_module_get) as a fix for the > > stable kernel.

Re: [PATCHv2] phy: omap-usb2: Enable runtime PM of omap-usb2 phy properly

2014-10-29 Thread Rabin Vincent
Unless I'm missing something, this patch appears to have still not been picked up. It would be nice if it can go in for 3.18 so that we have working USB on pandaboard again at least in that release. Tony, would you mind carrying it as OMAP maintainer since we haven't heard anything from Kishon (t

Re: [PATCH v2 2/2] ARM: shmobile: lager: enable USB3.0

2014-10-29 Thread Simon Horman
On Wed, Oct 29, 2014 at 08:19:30PM +0900, Yoshihiro Shimoda wrote: > Hi Magnus-san, > > (2014/10/29 15:53), Magnus Damm wrote: > > On Fri, Oct 24, 2014 at 7:41 PM, Yoshihiro Shimoda > > wrote: > >> Since the PHY of USB3.0 and EHCI/OHCI ch2 are the same, the USB3.0 > >> driver cannot use the phy d

[PATCH v3] cdc-acm: ensure that termios get set when the port is activated

2014-10-29 Thread Jim Paris
The driver wasn't properly configuring the hardware for the current termios settings under all conditions. Ensure that termios are written to the device when the port is activated. Signed-off-by: Jim Paris --- Switched to Johan's suggestion of using a prototype rather than moving acm_tty_set_te

Re: [PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Varka Bhadram
On Thursday 30 October 2014 02:43 AM, Alan Stern wrote: On Wed, 29 Oct 2014, Varka Bhadram wrote: This series removes the duplication of sanity check for platform_get_resource() return resource. It will be checked with devm_ioremap_resource() This series based on usb/master. Varka Bhadram (32

Re: [PATCH usb 06/32] renesas_usbhs: common: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
On Thursday 30 October 2014 01:24 AM, Sergei Shtylyov wrote: Hello. On 10/29/2014 07:00 PM, Varka Bhadram wrote: From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadram --- drivers/usb/renesas_usbhs/common.c |3 ++- 1 fil

Re: [PATCH] USB: cdc-acm: add device id for GW Instek AFG-2225

2014-10-29 Thread Peter Stuge
Oliver Neukum wrote: > Then I guess I'll take no further action in kernel space. I for one would like the kernel messages to be less prominent, if they stay at all. Since descriptors are not always correct, it's not so useful for the kernel to output such "loud" messages. //Peter -- To unsubscr

Re: [PATCH usb 04/32] dwc3: core: remove duplicate check on resource

2014-10-29 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 09:30:14PM +0530, Varka Bhadram wrote: > From: Varka Bhadram > > Sanity check on resource happening with devm_ioremap_resource(). > > Signed-off-by: Varka Bhadram next time, use scripts/get_maintainer.pl. It would tell you I maintain dwc3, musb and the gadget framework.

Re: [PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Felipe Balbi
Hi, On Thu, Oct 30, 2014 at 06:42:08AM +0530, Varka Bhadram wrote: > On Thursday 30 October 2014 02:43 AM, Alan Stern wrote: > >On Wed, 29 Oct 2014, Varka Bhadram wrote: > > > >>This series removes the duplication of sanity check for > >>platform_get_resource() return resource. It will be checked

Re: Potential USB PHY error handling fix for stable

2014-10-29 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 10:54:35PM +, Mark Brown wrote: > On Wed, Oct 29, 2014 at 03:30:18PM -0700, Greg Kroah-Hartman wrote: > > On Wed, Oct 29, 2014 at 10:10:12PM +, Mark Brown wrote: > > > > One of the Linaro stable kernel users has suggested 2c4e3dbf63b39d (usb: > > > phy: return -ENOD

Re: [PATCH usb 04/32] dwc3: core: remove duplicate check on resource

2014-10-29 Thread Felipe Balbi
On Wed, Oct 29, 2014 at 09:40:12PM -0500, Felipe Balbi wrote: > On Wed, Oct 29, 2014 at 09:30:14PM +0530, Varka Bhadram wrote: > > From: Varka Bhadram > > > > Sanity check on resource happening with devm_ioremap_resource(). > > > > Signed-off-by: Varka Bhadram > > next time, use scripts/get_ma

Re: [PATCH usb 04/32] dwc3: core: remove duplicate check on resource

2014-10-29 Thread Varka Bhadram
Hi Balbi, On 10/30/2014 08:17 AM, Felipe Balbi wrote: On Wed, Oct 29, 2014 at 09:40:12PM -0500, Felipe Balbi wrote: On Wed, Oct 29, 2014 at 09:30:14PM +0530, Varka Bhadram wrote: From: Varka Bhadram Sanity check on resource happening with devm_ioremap_resource(). Signed-off-by: Varka Bhadra

Re: [PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Varka Bhadram
Hi Balbi, On 10/30/2014 08:13 AM, Felipe Balbi wrote: Hi, On Thu, Oct 30, 2014 at 06:42:08AM +0530, Varka Bhadram wrote: On Thursday 30 October 2014 02:43 AM, Alan Stern wrote: On Wed, 29 Oct 2014, Varka Bhadram wrote: This series removes the duplication of sanity check for platform_get_re

Re: [PATCH usb 00/32] cleanup on resource check

2014-10-29 Thread Varka Bhadram
On 10/30/2014 09:05 AM, Varka Bhadram wrote: Hi Balbi, On 10/30/2014 08:13 AM, Felipe Balbi wrote: Hi, On Thu, Oct 30, 2014 at 06:42:08AM +0530, Varka Bhadram wrote: On Thursday 30 October 2014 02:43 AM, Alan Stern wrote: On Wed, 29 Oct 2014, Varka Bhadram wrote: This series removes the d

[PATCH net-next] r8152: set RTL8152_UNPLUG when finding -ENODEV

2014-10-29 Thread Hayes Wang
Set RTL8152_UNPLUG when finding -ENODEV. This could accelerate unloading the driver when the device is unplugged. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 14 -- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8

  1   2   >