Re: [PATCH v2 1/2] mfd: viperboard: allocate I/O buffer separately

2014-09-23 Thread Johan Hovold
On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote: > Currently the I/O buffer is allocated part of the device status > structure, potentially sharing the same cache line with other members > in this structure. > > Allocate the buffer separately, to avoid the I/O operations corruptin

Re: [PATCH v2 1/2] mfd: viperboard: allocate I/O buffer separately

2014-09-23 Thread Johan Hovold
On Tue, Sep 23, 2014 at 09:35:41AM +0200, Johan Hovold wrote: > On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote: > > Currently the I/O buffer is allocated part of the device status > > structure, potentially sharing the same cache line with other members > > in this structure. > >

Re: [PATCH v2 1/2] mfd: viperboard: allocate I/O buffer separately

2014-09-23 Thread Johan Hovold
On Mon, Sep 22, 2014 at 10:39:18PM +0300, Octavian Purdila wrote: > Currently the I/O buffer is allocated part of the device status > structure, potentially sharing the same cache line with other members > in this structure. > > Allocate the buffer separately, to avoid the I/O operations corruptin

[PATCH net] r8152: fix the carrier off when autoresuming

2014-09-23 Thread Hayes Wang
netif_carrier_off would be called when autoresuming, even though the cable is plugged. This causes some applications do relative actions when detecting the carrier off. Keep the status of the carrier, and let it be modified when the linking change occurs. Signed-off-by: Hayes Wang --- drivers/ne

[PATCH v6 1/7] usb: move the OTG state from the USB PHY to the OTG structure

2014-09-23 Thread Antoine Tenart
Before using the PHY framework instead of the USB PHY one, we need to move the OTG state into another place, since it won't be available when USB PHY isn't used. This patch moves the OTG state into the OTG structure, and makes all the needed modifications in the drivers using the OTG state. Signed

[PATCH v6 2/7] usb: rename phy to usb_phy in OTG

2014-09-23 Thread Antoine Tenart
This patch prepares the introduction of the generic PHY support in the USB OTG common functions. The USB PHY member of the OTG structure is renamed to 'usb_phy' and modifications are done in all drivers accessing it. Renaming this pointer will allow to keep the compatibility for USB PHY drivers. S

[PATCH v6 6/7] usb: chipidea: move usb_otg into struct ci_hdrc

2014-09-23 Thread Antoine Tenart
Move the usb_otg member from struct usb_phy to struct ci_hdrc. Rework its initialization taking in account this modification. Signed-off-by: Antoine Tenart Acked-by: Peter Chen --- drivers/usb/chipidea/ci.h | 1 + drivers/usb/chipidea/debug.c | 2 +- drivers/usb/chipidea/host.c| 5

[PATCH v6 3/7] usb: add support to the generic PHY framework in OTG

2014-09-23 Thread Antoine Tenart
This patch adds support of the PHY framework in OTG and keeps the USB PHY compatibility. Here the only modification is to add PHY member in the OTG structure, along with the USB PHY one. Signed-off-by: Antoine Tenart --- include/linux/usb/otg.h | 3 +++ 1 file changed, 3 insertions(+) diff --gi

[PATCH v6 4/7] usb: allow to supply the PHY in the drivers when using HCD

2014-09-23 Thread Antoine Tenart
This patch modify the generic code handling PHYs to allow them to be supplied from the drivers. This adds checks to ensure no PHY was already there when looking for one in the generic code. This also makes sure we do not modify its state in the generic HCD functions, it was provided by the driver.

[PATCH v6 5/7] usb: rename transceiver and phy to usb_phy in ChipIdea

2014-09-23 Thread Antoine Tenart
This patch prepares the introduction of the generic PHY support in the USB ChipIdea common functions. The USB PHY member of the ChipIdea structure ('transceiver') is renamed to 'usb_phy', the 'phy' member of the ChipIdea pdata structure is renamed to 'usb_phy' and modifications are done in all driv

[PATCH v6 7/7] usb: chipidea: add support to the generic PHY framework in ChipIdea

2014-09-23 Thread Antoine Tenart
This patch adds support of the PHY framework for ChipIdea drivers. Changes are done in both the ChipIdea common code and in the drivers accessing the PHY. This is done by adding a new PHY member in ChipIdea's structures and by taking care of it in the code. Signed-off-by: Antoine Tenart --- driv

[PATCH v6 0/7] usb: add support for the generic PHY framework

2014-09-23 Thread Antoine Tenart
Patches can also be found at: git://git.free-electrons.com:users/antoine-tenart/linux.git usb-phy The series applies on top of Sergei generic PHY support in HCD[1] and on top of Peter Chen's ci-for-usb-next branch[2]. Thanks a lot! Antoine Changes since v5: - rebased on the latest versi

RE: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread Krzysztof Opasiak
> -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Monday, September 22, 2014 3:17 PM > To: Krzysztof Opasiak > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas; > Andrzej Pietrasiewicz; Marek Szyprowski; Karol Lewandowski; > philippedesw...@gmail.com

[PATCH v6 01/12] reset: add the Berlin reset controller driver

2014-09-23 Thread Antoine Tenart
Add a reset controller for Marvell Berlin SoCs which is used by the USB PHYs drivers (for now). Signed-off-by: Antoine Tenart Signed-off-by: Sebastian Hesselbarth Acked-by: Philipp Zabel --- drivers/reset/Makefile | 1 + drivers/reset/reset-berlin.c | 131 ++

[PATCH v6 12/12] ARM: dts: berlin: enable USB on the Google Chromecast

2014-09-23 Thread Antoine Tenart
From: Sebastian Hesselbarth Enable usb1 on Google Chromecast which is connected to micro-USB plug used for external power supply, too. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2cd-google-chromecast.dts | 4 1 file changed, 4 insertion

[PATCH v6 11/12] ARM: dts: berlin: add BG2CD nodes for USB support

2014-09-23 Thread Antoine Tenart
From: Sebastian Hesselbarth Adds nodes describing the Marvell Berlin BG2CD USB PHY and USB. The BG2CD SoC has 2 USB ChipIdea controllers, with usb0 host-only and usb1 dual-role capable. Signed-off-by: Sebastian Hesselbarth Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2cd.dtsi | 3

[PATCH v6 10/12] ARM: dts: Berlin: enable USB on the BG2Q DMP

2014-09-23 Thread Antoine Tenart
Enable the 2 available USB PHY and USB nodes on the Marvell Berlin BG2Q DMP. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q-marvell-dmp.dts | 53 ++ 1 file changed, 53 insertions(+) diff --git a/arch/arm/boot/dts/berlin2q-marvell-dmp.dts b/arch/arm/boo

[PATCH v6 06/12] Documentation: bindings: add doc for the Berlin USB PHY

2014-09-23 Thread Antoine Tenart
Document the bindings of the Marvell Berlin USB PHY driver. Signed-off-by: Antoine Tenart --- Documentation/devicetree/bindings/phy/berlin-usb-phy.txt | 16 1 file changed, 16 insertions(+) create mode 100644 Documentation/devicetree/bindings/phy/berlin-usb-phy.txt diff --git

[PATCH v6 09/12] ARM: dts: berlin: add BG2Q nodes for USB support

2014-09-23 Thread Antoine Tenart
Adds nodes describing the Marvell Berlin BG2Q USB PHY and USB. The BG2Q SoC has 3 USB host controller, compatible with ChipIdea. Signed-off-by: Antoine Tenart --- arch/arm/boot/dts/berlin2q.dtsi | 52 + 1 file changed, 52 insertions(+) diff --git a/arch/a

[PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Antoine Tenart
Add a USB2 ChipIdea driver for ci13xxx, with optional PHY, clock and DMA mask, to support USB2 ChipIdea controllers that don't need specific functions. Tested on the Marvell Berlin SoCs USB controllers. Signed-off-by: Antoine Tenart --- drivers/usb/chipidea/Makefile | 1 + drivers/usb/c

[PATCH v6 05/12] phy: add the Berlin USB PHY driver

2014-09-23 Thread Antoine Tenart
Add the driver driving the Marvell Berlin USB PHY. This allows to initialize the PHY and to use it from the USB driver later. Signed-off-by: Antoine Tenart --- drivers/phy/Kconfig | 7 ++ drivers/phy/Makefile | 1 + drivers/phy/phy-berlin-usb.c | 224

[PATCH v6 08/12] Documentation: bindings: add doc for the USB2 ChipIdea USB driver

2014-09-23 Thread Antoine Tenart
Document the USB2 ChipIdea driver (ci13xxx) bindings. Signed-off-by: Antoine Tenart --- .../devicetree/bindings/usb/ci-hdrc-usb2.txt | 22 ++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/usb/ci-hdrc-usb2.txt diff --git a/Docume

[PATCH v6 03/12] ARM: Berlin: select the reset controller

2014-09-23 Thread Antoine Tenart
The Marvell Berlin SoCs now has a reset controller. Add the needed configuration. Signed-off-by: Antoine Tenart --- arch/arm/mach-berlin/Kconfig | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/mach-berlin/Kconfig b/arch/arm/mach-berlin/Kconfig index 24f85be71671..5803f773a065 1006

[PATCH v6 00/12] ARM: berlin: USB support

2014-09-23 Thread Antoine Tenart
This series adds the support for ChipIdea USB2 (ci13xxx) controllers, the USB PHYs of the Marvell Berlin SoCs and also adds a reset controller for these SoCs. The reset controller is used by the PHY driver and shares the existing chip controller node with the clocks and one pin controller. The Ma

[PATCH v6 04/12] ARM: dts: berlin: add a required reset property in the chip controller node

2014-09-23 Thread Antoine Tenart
The chip controller node now also describes the Marvell Berlin reset controller. Add the required 'reset-cells' property. Signed-off-by: Antoine Tenart Acked-by: Philipp Zabel --- arch/arm/boot/dts/berlin2.dtsi | 1 + arch/arm/boot/dts/berlin2cd.dtsi | 1 + arch/arm/boot/dts/berlin2q.dtsi |

[PATCH v6 02/12] Documentation: bindings: add reset bindings docs for Marvell Berlin SoCs

2014-09-23 Thread Antoine Tenart
Add the reset binding documentation to the SoC binding documentation as the reset driver in Marvell Berlin SoC is part of the chip/system control registers. This patch adds the required properties to configure the reset controller. Signed-off-by: Antoine Tenart Acked-by: Philipp Zabel --- Docum

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Arnd Bergmann
On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote: > + if (dev->of_node) { > + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata); > + if (ret) > + goto clk_err; > + } else { > + ret = dma_set_mask_and_coherent(&pdev->dev,

Re: [PATCH 2/6] phy: improved lookup method

2014-09-23 Thread Heikki Krogerus
On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote: > On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote: > > On Mon, Sep 15, 2014 at 03:35:08PM +0300, Heikki Krogerus wrote: > >> On Fri, Sep 12, 2014 at 08:16:01PM +0530, Kishon Vijay Abraham I wrote: > >>> Assume you

Re: [PATCH 2/6] phy: improved lookup method

2014-09-23 Thread Kishon Vijay Abraham I
Hi, On Tuesday 23 September 2014 04:23 PM, Heikki Krogerus wrote: > On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote: >> On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote: >>> On Mon, Sep 15, 2014 at 03:35:08PM +0300, Heikki Krogerus wrote: On Fri, Sep 12, 20

[PATCH] storage: Add quirk for another SCM-based USB-SCSI converter

2014-09-23 Thread Mark
Hi, There is apparently another SCM USB-SCSI converter with ID 04E6:000F. It is listed along with 04E6:000B in the Windows INF file for the Startech ICUSBSCSI2 as "eUSB SCSI Adapter (Bus Powered)". The quirk allows devices with SCSI ID other than 0 to be accessed. Also make a couple of existin

Re: [PATCH 2/6] phy: improved lookup method

2014-09-23 Thread Heikki Krogerus
On Tue, Sep 23, 2014 at 04:33:09PM +0530, Kishon Vijay Abraham I wrote: > Hi, > > On Tuesday 23 September 2014 04:23 PM, Heikki Krogerus wrote: > > On Mon, Sep 22, 2014 at 05:07:55PM +0530, Kishon Vijay Abraham I wrote: > >> On Thursday 18 September 2014 03:55 PM, Heikki Krogerus wrote: > >>> On M

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Antoine Tenart
Arnd, On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote: > > + if (dev->of_node) { > > + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata); > > + if (ret) > > + goto clk_err;

Re: [PATCH v3 0/6] libusbg: Add remove gadget/config/func/binding functionality.

2014-09-23 Thread Matt Porter
On Tue, Mar 18, 2014 at 09:29:00PM +0100, Krzysztof Opasiak wrote: > Dear Matt, > > In this series of patch I have added remove gadget, config, function, > binding functionality which was missing since introduction of library. > > I have also added remove strings functionality which allow to remo

Re: [PATCH v2 0/4] libusbg: Fix potential issues found with coverity

2014-09-23 Thread Matt Porter
On Tue, May 13, 2014 at 05:13:18PM +0300, Philippe De Swert wrote: > This patch series fixes a number of issues found with coverity in libusbg > A pull request has also be made: > https://github.com/libusbg/libusbg/pull/4 > > This is the second version where we use a different fix for the readlink

[PATCH fix for 3.17] uas: Add another ASM1051 usb-id to the uas blacklist

2014-09-23 Thread Hans de Goede
As most ASM1051 based devices, this one has unfixable issues with uas too. Cc: sta...@vger.kernel.org # 3.16 Signed-off-by: Hans de Goede --- drivers/usb/storage/unusual_uas.h | 8 1 file changed, 8 insertions(+) diff --git a/drivers/usb/storage/unusual_uas.h b/drivers/usb/storage/unu

Re: [PATCH v2 0/4] libusbg: Add support for functionfs

2014-09-23 Thread Matt Porter
On Wed, Jun 11, 2014 at 05:09:46PM +0200, Krzysztof Opasiak wrote: > Dear Matt, > > Configuration of function fs based functions using config fs has been > merged to linux kernel quite long ago. To keep libusbg up to date I > have prepared patches that add support for functionfs function type. >

Re: [PATCH v2 0/3] Small fixes and clean up

2014-09-23 Thread Matt Porter
On Fri, Aug 22, 2014 at 01:56:37PM +0200, Krzysztof Opasiak wrote: > Dear Matt, > > This is a small series which fix usbg_set_function_attrs() > which previously tried to set attributes which are read only > on configfs. > > I have also went through code and marked attributes which should not > c

Re: [PATCH] usb: core: downgrade log severity to info when descriptor missing

2014-09-23 Thread Alan Stern
On Mon, 22 Sep 2014, Scot Doyle wrote: > According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0 > USB: fix LANGID=0 regression > > usb devices are not required to report string descriptors. Since they are > optional, log an info message instead of an error message. In addition, > use a

Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread Tony Lindgren
* Krzysztof Opasiak [140923 03:22]: > > -Original Message- > > From: Tony Lindgren [mailto:t...@atomide.com] > > Sent: Monday, September 22, 2014 3:17 PM > > To: Krzysztof Opasiak > > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas; > > Andrzej Pietrasiewicz; Marek Szyprowski

Re: [PATCH v3 00/15] Add import from/export to file functionality

2014-09-23 Thread Matt Porter
On Mon, Aug 25, 2014 at 10:54:51AM +0200, Krzysztof Opasiak wrote: > Dear Matt, > > This quite big series adds new part of libusbg API which allows to > import/export gadget/function/configuration from/to file. > > Motivation: > > Libusbg allows to create a binary file which set up custom > gadg

RE: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread Krzysztof Opasiak
Forgot about link: 1 - https://github.com/kopasiak/gt > -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Tuesday, September 23, 2014 4:34 PM > To: Krzysztof Opasiak > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas; > Andrzej Pietrasiewicz; Marek Szy

Re: [PATCH 0/2] USB: core: add add device-qualifier quirk

2014-09-23 Thread Johan Hovold
On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote: > This is quirk is indeed needed to get the Elan Touchscreen found on some > Samsung laptops to enumerate reliably. [...] > Johan Hovold (2): > USB: core: add device-qualifier quirk > USB: quirks: enable device-qualifier quirk for

RE: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread Krzysztof Opasiak
> -Original Message- > From: Tony Lindgren [mailto:t...@atomide.com] > Sent: Tuesday, September 23, 2014 4:34 PM > To: Krzysztof Opasiak > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas; > Andrzej Pietrasiewicz; Marek Szyprowski; Karol Lewandowski; > philippedesw...@gmail.c

Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread Tony Lindgren
* Krzysztof Opasiak [140923 07:48]: > > From: Tony Lindgren [mailto:t...@atomide.com] > > > > Is there an example somewhere that completely clears any configured > > gadget from /sys/config/? > > > > Yes, please check my master branch. > > There is a set of functions: usbg_rm_*() which can be u

Re: [PATCH] Revert "usb: gadget: composite: dequeue cdev->req before free it in composite_dev_cleanup"

2014-09-23 Thread Greg KH
On Mon, Sep 22, 2014 at 09:28:26AM -0500, Felipe Balbi wrote: > Hi, > > On Thu, Sep 18, 2014 at 09:31:32AM -0500, Felipe Balbi wrote: > > This reverts commit f2267089ea17fa97b796b1b4247e3f8957655df3. > > > > That commit causes more problem than fixes. Firstly, kfree() > > should be called after u

Re: [PATCH 0/2] USB: core: add add device-qualifier quirk

2014-09-23 Thread Greg Kroah-Hartman
On Tue, Sep 23, 2014 at 04:56:24PM +0200, Johan Hovold wrote: > On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote: > > This is quirk is indeed needed to get the Elan Touchscreen found on some > > Samsung laptops to enumerate reliably. > > [...] > > > Johan Hovold (2): > > USB: core:

Re: [PATCH] Revert "usb: gadget: composite: dequeue cdev->req before free it in composite_dev_cleanup"

2014-09-23 Thread Felipe Balbi
On Tue, Sep 23, 2014 at 07:55:38AM -0700, Greg KH wrote: > On Mon, Sep 22, 2014 at 09:28:26AM -0500, Felipe Balbi wrote: > > Hi, > > > > On Thu, Sep 18, 2014 at 09:31:32AM -0500, Felipe Balbi wrote: > > > This reverts commit f2267089ea17fa97b796b1b4247e3f8957655df3. > > > > > > That commit causes

Re: [PATCH 0/2] USB: core: add add device-qualifier quirk

2014-09-23 Thread Johan Hovold
On Tue, Sep 23, 2014 at 08:21:51AM -0700, Greg Kroah-Hartman wrote: > On Tue, Sep 23, 2014 at 04:56:24PM +0200, Johan Hovold wrote: > > On Mon, Aug 25, 2014 at 05:51:25PM +0200, Johan Hovold wrote: > > > This is quirk is indeed needed to get the Elan Touchscreen found on some > > > Samsung laptops

Re: [PATCH] libusbg: Fix usbg_disable_gadget to actually clear the UDC

2014-09-23 Thread 'Matt Porter'
On Tue, Sep 23, 2014 at 12:21:01PM +0200, Krzysztof Opasiak wrote: > > -Original Message- > > From: Tony Lindgren [mailto:t...@atomide.com] > > Sent: Monday, September 22, 2014 3:17 PM > > To: Krzysztof Opasiak > > Cc: 'Matt Porter'; linux-usb@vger.kernel.org; Stanislaw Wadas; > > Andrzej P

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Arnd Bergmann
On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote: > > On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote: > > > + if (dev->of_node) { > > > + ret = ci_hdrc_usb2_dt_probe(dev, ci_pdata); > > > +

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Felipe Balbi
HI, On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > > On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote: > > > On Tuesday 23 September 2014 12:28:03 Antoine Tenart wrote: > > > > + if (dev->of_node) {

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Arnd Bergmann
On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote: > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote: > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > > > On Tue, Sep 23, 2014 at 12:39:04PM +0200, Arnd Bergmann wrote: > > > > On Tuesday 23 September 2014 12:28:

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Felipe Balbi
Hi, On Tue, Sep 23, 2014 at 07:37:25PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote: > > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote: > > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > > > > On Tue, Sep 23, 2014 at 12:39:

Re: [PATCH] usb: core: downgrade log severity to info when descriptor missing

2014-09-23 Thread Scot Doyle
On Tue, 23 Sep 2014, Alan Stern wrote: > -ENODATA doesn't mean the string was unavailable. It means that the > second byte of the reply was different from USB_DT_STRING, i.e., the > reply was malformed. Thank you for the correction! > And down here is where you should call either dev_info() or d

[PATCH v2] usb: core: downgrade log severity to info when descriptor unavailable

2014-09-23 Thread Scot Doyle
According to commit 0cce2eda19923e5e5ccc8b042dec5af87b3ffad0 USB: fix LANGID=0 regression usb devices are not required to report string descriptors. Since they are optional, log an info message instead of an error message. Signed-off-by: Scot Doyle --- drivers/usb/core/message.c | 8 ++-

No USB3 / Asus P5B-VM, U3S6 and Transcend RDF-8 card reader

2014-09-23 Thread Daniel van Gerpen
Hi, my RDF-8 card reader does not establish a super-speed connection when connected to an U3S6 USB3.0 port. It only manages high-speed: [0.894119] xhci_hcd :05:00.0: xHCI Host Controller [0.894126] xhci_hcd :05:00.0: new USB bus registered, assigned bus number 8 [0.894300] x

USB3 WD drive failure on ASUS M5A 78L-M USB3

2014-09-23 Thread Len Berman
I'm running debian 7. Linux foobar 3.2.0-4-amd64 #1 SMP Debian 3.2.60-1+deb7u3 x86_64 GNU/Linux. I have a Passport drive which fails on the USB3 connector. It works fine on USB2. It also works fine as USB3 on my Lenovo laptop. The output of lspci -v & lsusb -v is at http://outtopastureenterp

[RFC PATCH] usb: core: log more general message on malformed LANGID descriptor

2014-09-23 Thread Scot Doyle
I'd like to change this error message: [3.325837] usb 1-4: string descriptor 0 malformed (err = -61), defaulting to 0x0409 into an error message followed by a debug message: [3.324726] usb 1-4: malformed string descriptor; unknown language, defaulting to English [3.327514] usb 1-4: s

g_mass_storage bug ?

2014-09-23 Thread Felipe Balbi
Hi Alan, Need your help looking over this detail here. When I run g_mass_storage with stall=0 everything works fine. As soon as I remove it, things go bonkers. Looking at the bulk-only spec, I see: "6.7.2 Hi - Host expects to receive data from the device [ ... ] The specific device requirement

Re: [PATCH v6 07/12] usb: chipidea: add a usb2 driver for ci13xxx

2014-09-23 Thread Peter Chen
On Tue, Sep 23, 2014 at 07:37:25PM +0200, Arnd Bergmann wrote: > On Tuesday 23 September 2014 11:55:15 Felipe Balbi wrote: > > On Tue, Sep 23, 2014 at 06:44:40PM +0200, Arnd Bergmann wrote: > > > On Tuesday 23 September 2014 15:36:45 Antoine Tenart wrote: > > > > On Tue, Sep 23, 2014 at 12:39:04PM

Re: [PATCH v5 1/3] usb: gadget: Refactor request completion

2014-09-23 Thread Michal Sojka
Dear Felipe, On Wed, Sep 17 2014, Felipe Balbi wrote: > On Wed, Sep 17, 2014 at 09:21:11AM +0200, Michal Sojka wrote: >> All USB peripheral controller drivers called completion routines >> directly. This patch moves the completion call from drivers to >> usb_gadget_giveback_request(), in order to

[PATCH] usb: gadget: f_rndis: fix usb_interface_descriptor for rndis

2014-09-23 Thread Heiko Schocher
use the values for RNDIS over Ethernet as defined in http://www.usb.org/developers/defined_class (search for RDNIS): - baseclass: 0xef (miscellaneous) - subclass: 0x04 - protocol: 0x01 with this setings the file in Documentation/usb/linux.inf is obsolete. Signed-off-by: Heiko Schocher --- Cc: