Re: [PATCH 0/2] HID: usbhid: fix Elan touchscreen disconnects

2014-09-08 Thread Jiri Kosina
On Fri, 5 Sep 2014, Johan Hovold wrote: Here's the always-poll quirk that is needed to prevent the Elan touchscreen from disconnecting itself from the bus. These patches are against v3.16.1, but applies fine to hid-next. Note that this series is not dependent on the device-qualifier quirk

Re: usb_acpi_set_power_state() and usb_queue_reset_device()

2014-09-08 Thread Oliver Neukum
On Fri, 2014-09-05 at 10:15 -0400, Alan Stern wrote: On Fri, 5 Sep 2014, Oliver Neukum wrote: Hi, looking at your patch for resetting HID devices it occurred to me that there's a race between a queued reset and a port power switch. Switching a port's power state implies to a reset

[PATCH RESEND v7 2/2] usb: gadget: f_fs: virtual endpoint address mapping

2014-09-08 Thread Robert Baldyga
This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them user have to switch on the FUNCTIONFS_VIRTUAL_ADDR flag in descriptors.

[PATCH RESEND v7 1/2] usb: gadget: f_fs: add ioctl returning ep descriptor

2014-09-08 Thread Robert Baldyga
This patch introduces ioctl named FUNCTIONFS_ENDPOINT_DESC, which returns endpoint descriptor to userspace. It works only if function is active. Signed-off-by: Robert Baldyga r.bald...@samsung.com Acked-by: Michal Nazarewicz min...@mina86.com --- drivers/usb/gadget/function/f_fs.c | 23

[PATCH RESEND v7 0/2] usb: gadget: f_fs: userspace API fixes and improvements

2014-09-08 Thread Robert Baldyga
Hi Felipe, I have rebased this patchset at your testing/next/ branch. Best regards Robert Baldyga Robert Baldyga (2): usb: gadget: f_fs: add ioctl returning ep descriptor usb: gadget: f_fs: virtual endpoint address mapping drivers/usb/gadget/function/f_fs.c | 46

[PATCH 1/9] usb: gadget: f_uvc: Store EP0 control request state during setup stage

2014-09-08 Thread Laurent Pinchart
To handle class requests received on ep0, the driver needs to access the length and direction of the request after the setup stage. It currently stores them in a v4l2 event during the setup stage, and then copies them from the event structure to the driver internal state structure when the event

[PATCH v2 0/9] UVC gadget patches for v3.18 (part 2)

2014-09-08 Thread Laurent Pinchart
Hi Felipe, These patches have previously been posted to linux-usb as part of the following series. [PATCH 0/2] Move UVC gagdet to video_ioctl2 [PATCH 0/7] g_webcam: Preparation for configfs I've rebased them on top of your master branches. The result has been successfully tested by Andrzej

[PATCH 5/9] usb: gadget: uvc: separately compile some components of f_uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Compile uvc_queue, uvc_v4l2, uvc_video separately so that later they can be all combined in a separately compiled f_uvc. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de [Make

[PATCH 6/9] usb: gadget: f_uvc: convert f_uvc to new function interface

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Use the new function registration interface. It is required in order to integrate configfs support. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de [Updated copyright years]

[PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Prepare for separate compilation of uvc function's components. Some symbols will have to be exported, so rename to avoid conflicts with functions of the same name in host uvc. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by:

[PATCH 3/9] usb: gadget: uvc: move module parameters from f_uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com When configfs support is integrated the future uvc function module must not take any parameters. Move parameters to webcam. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de

[PATCH 2/9] usb: gadget: f_uvc: Move to video_ioctl2

2014-09-08 Thread Laurent Pinchart
Simplify ioctl handling by using video_ioctl2. Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com Acked-by: Andrzej Pietrasiewicz andrze...@samsung.com --- drivers/usb/gadget/function/f_uvc.c| 2 + drivers/usb/gadget/function/uvc_v4l2.c | 298

[PATCH 8/9] usb: gadget: f_uvc: remove compatibility layer

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com There are no users of the old interface left. Remove it. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

Re: [PATCH RESEND v3 01/12] usb: dwc2/gadget: fix phy disable sequence

2014-09-08 Thread Robert Baldyga
On 09/04/2014 09:49 PM, Felipe Balbi wrote: Hi, On Thu, Sep 04, 2014 at 07:37:20PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, September 04, 2014 12:18 PM On Thu, Sep 04, 2014 at 12:04:23PM -0700, Paul Zimmerman wrote: From: Kamil Debski

[no subject]

2014-09-08 Thread ®®®
Sehr geehrte Begünstigte, Sie haben als einzige Begünstigte der Summe von fünfhunderttausend Euro (€ 500.000,00 Euro), die hier in WESTERN UNION OFFICE von der ONU Organisation für Sie hinterlegt ausgewählt wurde. Bitte kontaktieren Sie uns für Ansprüche Email: wes_sp...@outlook.com

[PATCH stable 0/6] usb: dwc2/gadget: fix series

2014-09-08 Thread Robert Baldyga
This patchset contains fixes for dwc2/gadget driver. It should apply to stable-3.16. Best regards Robert Baldyga Kamil Debski (2): usb: dwc2/gadget: fix phy disable sequence usb: dwc2/gadget: fix phy initialization sequence Marek Szyprowski (3): usb: dwc2/gadget: break infinite loop in

[PATCH stable 1/6] usb: dwc2/gadget: fix phy disable sequence

2014-09-08 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com When the driver is removed s3c_hsotg_phy_disable is called three times instead of once. This results in decreasing of the phy reference counter below zero and thus consecutive inserts of the module fails. This patch removes calls to s3c_hsotg_phy_disable

[PATCH stable 2/6] usb: dwc2/gadget: fix phy initialization sequence

2014-09-08 Thread Robert Baldyga
From: Kamil Debski k.deb...@samsung.com In the Generic PHY Framework a NULL phy is considered to be a valid phy thus the if (hsotg-phy) check does not give us the information whether the Generic PHY Framework is used. In addition to the above this patch also removes phy_init from probe and

[PATCH stable 3/6] usb: dwc2/gadget: break infinite loop in endpoint disable code

2014-09-08 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com This patch fixes possible freeze caused by infinite loop in interrupt context. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/dwc2/gadget.c | 1 + 1 file changed, 1

[PATCH stable 5/6] usb: dwc2/gadget: delay enabling irq once hardware is configured properly

2014-09-08 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com This patch fixes kernel panic/interrupt storm/etc issues if bootloader left s3c-hsotg module in enabled state. Now interrupt handler is enabled only after proper configuration of hardware registers. Signed-off-by: Marek Szyprowski

[PATCH stable 6/6] usb: dwc2/gadget: avoid disabling ep0

2014-09-08 Thread Robert Baldyga
Endpoint 0 should not be disabled, so we start loop counter from number 1. Signed-off-by: Robert Baldyga r.bald...@samsung.com --- drivers/usb/dwc2/gadget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/dwc2/gadget.c b/drivers/usb/dwc2/gadget.c index

[PATCH stable 4/6] usb: dwc2/gadget: do not call disconnect method in pullup

2014-09-08 Thread Robert Baldyga
From: Marek Szyprowski m.szyprow...@samsung.com This leads to potential spinlock recursion in composite framework, other udc drivers also don't call it directly from pullup method. Signed-off-by: Marek Szyprowski m.szyprow...@samsung.com Signed-off-by: Robert Baldyga r.bald...@samsung.com ---

[RFC v3 1/2] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-09-08 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Purpose of this is to prevent the system to enter into suspend state from USB peripheral traffic by hodling a wakeupsource when USB is connected and enumerated in peripheral mode(say

[RFC v3 2/2] usb: phy: Temporarily hold timed wakeup source on charger and disconnect events

2014-09-08 Thread Kiran Kumar Raparthy
From: Todd Poynor toddpoy...@google.com usb: phy: Temporarily hold timed wakeup source on charger and disconnect events It temporarily holds a timed wakeup source on USB disconnect events, to allow the rest of the system time to react to the USB disconnection (dropping host sessions, updating

[PATCH] usb: gadget: zero: Fix warning generated by kbuild

2014-09-08 Thread Amit Virdi
The kbuild test bot generated the warning: drivers/usb/gadget/function/f_sourcesink.c:1498: warning: comparison is always false due to limited range of data type This patch fixes it. Reported-by: kbuild test robot fengguang...@intel.com Signed-off-by: Amit Virdi amit.vi...@st.com

Re: [RFC v3 2/2] usb: phy: Temporarily hold timed wakeup source on charger and disconnect events

2014-09-08 Thread Sergei Shtylyov
Hello. On 9/8/2014 2:10 PM, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Temporarily hold timed wakeup source on charger and disconnect events No need to duplicate the summary. It temporarily holds a timed wakeup source on USB disconnect events, to

Re: [PATCH] usb: host: xhci: fix compliance mode workaround

2014-09-08 Thread Mathias Nyman
On 08/28/2014 01:07 AM, Greg KH wrote: On Wed, Aug 27, 2014 at 04:38:04PM -0500, Felipe Balbi wrote: Commit 71c731a (usb: host: xhci: Fix Compliance Mode on SN65LVP3502CP Hardware) implemented a workaround for a known issue with Texas Instruments' USB 3.0 redriver IC but it left a condition

Re: [PATCH v3 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-08 Thread Johan Hovold
On Fri, Sep 05, 2014 at 06:17:57PM +0300, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: https://www.diolan.com/i2c/i2c_interface.html. Information about the USB protocol can be

[PATCH v6 3/5] usb: host: ehci-st: Add ehci-st devicetree bindings documentation

2014-09-08 Thread Peter Griffin
This patch documents the device tree bindings required for the ehci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/usb/ehci-st.txt | 39 +++ 1 file changed, 39

[PATCH v6 5/5] MAINTAINERS: Add ehci-st.c and ohci-st.c to ARCH/STI architecture

2014-09-08 Thread Peter Griffin
This patch adds the ehci-st.c and ohci-st.c files for the usb 2.0 usb1.1 host controller drivers found on stih41x and stih4xx STMicroelectronics SoC's into the STI arch section of the maintainers file. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- MAINTAINERS | 2 ++ 1 file changed,

[PATCH v6 0/5] Add EHCI and OHCI drivers for STi SoC's

2014-09-08 Thread Peter Griffin
Hi, I believe all feedback has been incorporated, and this series has also been rebased on 3.17-rc3. It was re-worked from v2 onwards to split out the ehci and ohci parts into their own drivers / devices like most other ARM platforms based on feedback from Arnd Bergmann (see here

[PATCH v6 2/5] usb: host: ohci-st: Add OHCI driver support for ST STB devices

2014-09-08 Thread Peter Griffin
This patch adds the glue code required to ensure the on-chip OHCI controller works on STi consumer electronics SoC's from STMicroelectronics. It mainly manages the setting and enabling of the relevant clocks and manages the reset / power signals to the IP block. Signed-off-by: Peter Griffin

[PATCH v6 4/5] usb: host: ohci-st: Add ohci-st devicetree bindings documentation

2014-09-08 Thread Peter Griffin
This patch documents the device tree bindings required for the ohci on-chip controller found in ST consumer electronics SoC's. Signed-off-by: Peter Griffin peter.grif...@linaro.org --- Documentation/devicetree/bindings/usb/ohci-st.txt | 37 +++ 1 file changed, 37

[PATCH v6 1/5] usb: host: ehci-st: Add EHCI support for ST STB devices

2014-09-08 Thread Peter Griffin
This patch adds the glue code required to ensure the on-chip EHCI controller works on STi consumer electronics SoC's from STMicroelectronics. It mainly manages the setting and enabling of the relevant clocks and manages the reset / power signals to the IP block. Signed-off-by: Peter Griffin

Re: [PATCH v3 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-08 Thread Johan Hovold
On Mon, Sep 08, 2014 at 01:32:33PM +0200, Johan Hovold wrote: On Fri, Sep 05, 2014 at 06:17:57PM +0300, Octavian Purdila wrote: +static int _dln2_transfer(struct dln2_dev *dln2, u16 handle, u16 cmd, + void *obuf, int obuf_len, void *ibuf, int *ibuf_len) +{ snip +

[no subject]

2014-09-08 Thread ®®®
Sehr geehrte Begünstigte, Sie haben als einzige Begünstigte der Summe von fünfhunderttausend Euro (€ 500.000,00 Euro), die hier in WESTERN UNION OFFICE von der ONU Organisation für Sie hinterlegt ausgewählt wurde. Bitte kontaktieren Sie uns für Ansprüche Email: wes_sp...@outlook.com

[no subject]

2014-09-08 Thread ®®®
Sehr geehrte Begünstigte, Sie haben als einzige Begünstigte der Summe von fünfhunderttausend Euro (€ 500.000,00 Euro), die hier in WESTERN UNION OFFICE von der ONU Organisation für Sie hinterlegt ausgewählt wurde. Bitte kontaktieren Sie uns für Ansprüche Email: wes_sp...@outlook.com

Re: [PATCH v6 0/5] Add EHCI and OHCI drivers for STi SoC's

2014-09-08 Thread Arnd Bergmann
On Monday 08 September 2014 13:04:43 Peter Griffin wrote: I believe all feedback has been incorporated, and this series has also been rebased on 3.17-rc3. It was re-worked from v2 onwards to split out the ehci and ohci parts into their own drivers / devices like most other ARM platforms

Re: [PATCH v3 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-08 Thread Octavian Purdila
On Mon, Sep 8, 2014 at 2:32 PM, Johan Hovold jo...@kernel.org wrote: On Fri, Sep 05, 2014 at 06:17:57PM +0300, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the device can be found here: snip First of all,

Re: [PATCH v3 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-08 Thread Lee Jones
On Mon, 08 Sep 2014, Octavian Purdila wrote: On Mon, Sep 8, 2014 at 2:32 PM, Johan Hovold jo...@kernel.org wrote: On Fri, Sep 05, 2014 at 06:17:57PM +0300, Octavian Purdila wrote: This patch implements the USB part of the Diolan USB-I2C/SPI/GPIO Master Adapter DLN-2. Details about the

Re: [RFC PATCH 0/7] usb: gadget: add reset API at usb_gadget_driver

2014-09-08 Thread Felipe Balbi
On Sat, Sep 06, 2014 at 12:09:22AM +, Peter Chen wrote: On Fri, Sep 05, 2014 at 08:44:08AM +0800, Peter Chen wrote: On Thu, Sep 04, 2014 at 11:04:38AM -0400, Alan Stern wrote: On Thu, 4 Sep 2014, Peter Chen wrote: Hi Felipe Alan, how about using below steps for this

Re: [PATCH RESEND v3 01/12] usb: dwc2/gadget: fix phy disable sequence

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 10:42:19AM +0200, Robert Baldyga wrote: On 09/04/2014 09:49 PM, Felipe Balbi wrote: Hi, On Thu, Sep 04, 2014 at 07:37:20PM +, Paul Zimmerman wrote: From: Felipe Balbi [mailto:ba...@ti.com] Sent: Thursday, September 04, 2014 12:18 PM On Thu, Sep 04,

Re: [PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 09:30:27AM +0530, Pratyush Anand wrote: On Fri, Sep 05, 2014 at 10:56:26PM +0800, Felipe Balbi wrote: When we're debugging hard-to-reproduce and time-sensitive use cases, printk() poses too much overhead. That's when the kernel's tracing infrastructure comes

Re: [RFC v3 1/2] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 03:39:23PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode Purpose of this is to prevent the system to enter into suspend state from USB peripheral traffic by

Re: [RFC v3 2/2] usb: phy: Temporarily hold timed wakeup source on charger and disconnect events

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 03:40:49PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Temporarily hold timed wakeup source on charger and disconnect events It temporarily holds a timed wakeup source on USB disconnect events, to allow the rest of the

Re: [PATCH stable 1/6] usb: dwc2/gadget: fix phy disable sequence

2014-09-08 Thread Felipe Balbi
On Mon, Sep 08, 2014 at 11:45:27AM +0200, Robert Baldyga wrote: From: Kamil Debski k.deb...@samsung.com When the driver is removed s3c_hsotg_phy_disable is called three times instead of once. This results in decreasing of the phy reference counter below zero and thus consecutive inserts of

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 09:53:09AM +0530, Vivek Gautam wrote: On Fri, Sep 5, 2014 at 11:26 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Sep 04, 2014 at 12:01:19PM +0530, Vivek Gautam wrote: Don't we have phy_power_on() for that ? It looks like you could just as well do this from

Re: [PATCH RESEND v7 2/2] usb: gadget: f_fs: virtual endpoint address mapping

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 09:57:00AM +0200, Robert Baldyga wrote: This patch introduces virtual endpoint address mapping. It separates function logic form physical endpoint addresses making it more hardware independent. Following modifications changes user space API, so to enable them

Re: [PATCH v3 1/3] mfd: add support for Diolan DLN-2 devices

2014-09-08 Thread Johan Hovold
On Mon, Sep 08, 2014 at 04:20:34PM +0300, Octavian Purdila wrote: On Mon, Sep 8, 2014 at 2:32 PM, Johan Hovold jo...@kernel.org wrote: +static bool find_free_slot(struct dln2_mod_rx_slots *rxs, int *slot) +{ + unsigned long flags; + + spin_lock_irqsave(rxs-lock, flags);

Re: [PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Felipe Balbi
On Mon, Sep 08, 2014 at 11:18:17AM +0300, Laurent Pinchart wrote: From: Andrzej Pietrasiewicz andrze...@samsung.com Prepare for separate compilation of uvc function's components. Some symbols will have to be exported, so rename to avoid conflicts with functions of the same name in host uvc.

Re: [PATCH] usb: gadget: zero: Fix warning generated by kbuild

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 04:05:33PM +0530, Amit Virdi wrote: The kbuild test bot generated the warning: drivers/usb/gadget/function/f_sourcesink.c:1498: warning: comparison is always false due to limited range of data type This patch fixes it. Reported-by: kbuild test

Re: [RFC v3 1/2] usb: phy: Hold wakeupsource when USB is enumerated in peripheral mode

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 07:48:06PM +0530, Kiran Raparthy wrote: On 8 September 2014 19:08, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Sep 08, 2014 at 03:39:23PM +0530, Kiran Kumar Raparthy wrote: From: Todd Poynor toddpoy...@google.com usb: phy: Hold wakeupsource when USB

Re: [PATCH 3/5] usb: phy: twl4030-usb: Move code from twl4030_phy_power to the runtime PM calls

2014-09-08 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 04 September 2014 10:37 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [140904 06:51]: Hi Tony, On Thursday 28 August 2014 04:58 AM, Tony Lindgren wrote: We don't need twl4030_phy_power() any longer now that we have the runtime PM calls. Let's get rid

Re: [PATCH stable 3.12.y] usb: host: ohci-spear: fix ohci_dump parameters

2014-09-08 Thread Alan Stern
On Sun, 7 Sep 2014, Vincent Stehlé wrote: Commit 6a04d05acfb51355 (USB: OHCI: fix bugs in debug routines) has removed the unused `verbose' argument of the debug function ohci_dump(); adapt ohci-spear accordingly. This fixes the following compilation error:

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-08 Thread Johan Hovold
On Fri, Sep 05, 2014 at 06:17:58PM +0300, Octavian Purdila wrote: From: Laurentiu Palcu laurentiu.pa...@intel.com This patch adds support for the Diolan DLN-2 I2C master module. Due to hardware limitations it does not support SMBUS quick commands. Information about the USB protocol

Re: [PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Andrzej Pietrasiewicz
Hi Felipe, W dniu 08.09.2014 o 15:51, Felipe Balbi pisze: On Mon, Sep 08, 2014 at 11:18:17AM +0300, Laurent Pinchart wrote: From: Andrzej Pietrasiewicz andrze...@samsung.com Prepare for separate compilation of uvc function's components. Some symbols will have to be exported, so rename to

Re: usb_acpi_set_power_state() and usb_queue_reset_device()

2014-09-08 Thread Alan Stern
On Mon, 8 Sep 2014, Oliver Neukum wrote: On Fri, 2014-09-05 at 10:15 -0400, Alan Stern wrote: On Fri, 5 Sep 2014, Oliver Neukum wrote: Hi, looking at your patch for resetting HID devices it occurred to me that there's a race between a queued reset and a port power switch.

Re: [PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Felipe Balbi
HI, On Mon, Sep 08, 2014 at 04:56:56PM +0200, Andrzej Pietrasiewicz wrote: Hi Felipe, W dniu 08.09.2014 o 15:51, Felipe Balbi pisze: On Mon, Sep 08, 2014 at 11:18:17AM +0300, Laurent Pinchart wrote: From: Andrzej Pietrasiewicz andrze...@samsung.com Prepare for separate compilation of uvc

Re: [PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Andrzej Pietrasiewicz
W dniu 08.09.2014 o 17:03, Felipe Balbi pisze: HI, snip I think this series depends now on Michael's patch: http://www.spinics.net/lists/linux-usb/msg111692.html As far as I know Laurent already has it in his tree: http://git.linuxtv.org/cgit.cgi/pinchartl/media.git/log/?h=uvc/gadget I

Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-08 Thread Tomeu Vizoso
On 2 September 2014 23:34, Andrew Bresticker abres...@chromium.org wrote: Tested on Venice2, Jetson TK1, and Big with a variety of USB2.0 and USB3.0 memory sticks and ethernet dongles using controller firmware recently posted by Andrew Chew [2]. I have had mixed results when testing this on a

RE: Linux xHCI compartmentalization

2014-09-08 Thread Gary Cordelli
Sarah: Thanks for the prompt response. It unfortunately confirmed what I expected our situation to be. I am intrigued by one aspect of your response -- that regarding the nature of early xHCI driver operation with xHCI 1.0 integrated hosts such as those produced by Intel. I am wondering in

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-08 Thread Octavian Purdila
On Mon, Sep 8, 2014 at 5:44 PM, Johan Hovold jo...@kernel.org wrote: snip Hi Johan, Again, thanks for the detailed review, I am addressing your review comments as we speak. Some questions below. snip + int ret, len; + struct tx_data { + u8 port; + u8

Re: [RFC v3 2/2] usb: phy: Temporarily hold timed wakeup source on charger and disconnect events

2014-09-08 Thread Sergei Shtylyov
Hello. On 9/8/2014 2:55 PM, Kiran Raparthy wrote: From: Todd Poynor toddpoy...@google.com mailto:toddpoy...@google.com usb: phy: Temporarily hold timed wakeup source on charger and disconnect events No need to duplicate the summary. It

Re: [PATCH v3 0/9] Tegra xHCI support

2014-09-08 Thread Andrew Bresticker
On Mon, Sep 8, 2014 at 8:34 AM, Tomeu Vizoso to...@tomeuvizoso.net wrote: On 2 September 2014 23:34, Andrew Bresticker abres...@chromium.org wrote: Tested on Venice2, Jetson TK1, and Big with a variety of USB2.0 and USB3.0 memory sticks and ethernet dongles using controller firmware recently

Re: Iomega SCSI-to-USB cable problem

2014-09-08 Thread Mark
Hi, On Tue, 2 Sep 2014 13:30:31 -0400 (EDT) Alan Stern st...@rowland.harvard.edu wrote: Good, this is very clear. I'll skip to the interesting parts 8801355a29c0 1148408426 S Ci:004:00 s a1 fe 0001 1 8801355a29c0 1148410477 C Ci:004:00 0 1 = 10 This is the Get-Max-LUN

Re: [PATCH v3 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-08 Thread Johan Hovold
On Fri, Sep 05, 2014 at 06:17:59PM +0300, Octavian Purdila wrote: From: Daniel Baluta daniel.bal...@intel.com This patch adds GPIO and IRQ support for the Diolan DLN-2 GPIO module. Information about the USB protocol interface can be found in the Programmer's Reference Manual [1], see

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-08 Thread Johan Hovold
On Mon, Sep 08, 2014 at 06:57:29PM +0300, Octavian Purdila wrote: On Mon, Sep 8, 2014 at 5:44 PM, Johan Hovold jo...@kernel.org wrote: snip Hi Johan, Again, thanks for the detailed review, I am addressing your review comments as we speak. Some questions below. snip + int

Re: [PATCH 3/5] usb: phy: twl4030-usb: Move code from twl4030_phy_power to the runtime PM calls

2014-09-08 Thread Tony Lindgren
* Kishon Vijay Abraham I kis...@ti.com [140908 07:26]: Hi Tony, On Thursday 04 September 2014 10:37 PM, Tony Lindgren wrote: * Kishon Vijay Abraham I kis...@ti.com [140904 06:51]: Hi Tony, On Thursday 28 August 2014 04:58 AM, Tony Lindgren wrote: We don't need twl4030_phy_power() any

Re: [PATCH v3 3/3] gpio: add support for the Diolan DLN-2 USB GPIO driver

2014-09-08 Thread Johan Hovold
On Fri, Sep 05, 2014 at 06:17:59PM +0300, Octavian Purdila wrote: --- /dev/null +++ b/drivers/gpio/gpio-dln2.c @@ -0,0 +1,537 @@ +/* + * Driver for the Diolan DLN-2 USB-GPIO adapter + * + * Copyright (c) 2014 Intel Corporation + * + * This program is free software; you can redistribute

OOPS: musb_hdrc

2014-09-08 Thread Matwey V. Kornilov
Hi, Running 3.16.1 on beaglebone black, I have the following issue with musb_hdrc on boot: [ 11.151063] Unable to handle kernel paging request at virtual address e09bb05c [ 11.158774] pgd = de5d8000 [ 11.161613] [e09bb05c] *pgd=9e02d811, *pte=, *ppte= [ 11.168247]

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-08 Thread Octavian Purdila
On Mon, Sep 8, 2014 at 7:30 PM, Johan Hovold jo...@kernel.org wrote: On Mon, Sep 08, 2014 at 06:57:29PM +0300, Octavian Purdila wrote: On Mon, Sep 8, 2014 at 5:44 PM, Johan Hovold jo...@kernel.org wrote: snip Hi Johan, Again, thanks for the detailed review, I am addressing your review

Re: [PATCH stable 1/6] usb: dwc2/gadget: fix phy disable sequence

2014-09-08 Thread Greg KH
On Mon, Sep 08, 2014 at 08:41:28AM -0500, Felipe Balbi wrote: On Mon, Sep 08, 2014 at 11:45:27AM +0200, Robert Baldyga wrote: From: Kamil Debski k.deb...@samsung.com When the driver is removed s3c_hsotg_phy_disable is called three times instead of once. This results in decreasing of the

Re: [PATCH v3 2/3] i2c: add support for Diolan DLN-2 USB-I2C adapter

2014-09-08 Thread Johan Hovold
On Mon, Sep 08, 2014 at 08:15:07PM +0300, Octavian Purdila wrote: Just one more question on this subject: is the following allowed: int ret, len; or should it be: int ret; int len; I try to avoid it, at least unless obviously related such as min/max or x/y. Johan -- To unsubscribe

Re: [PATCH v5 0/4] Patches to add support for Rockchip dwc2 controller

2014-09-08 Thread Heiko Stübner
Hi Greg, Am Freitag, 8. August 2014, 11:55:55 schrieb Kever Yang: These patches to add support for dwc2 controller found in Rockchip processors rk3066, rk3188 and rk3288, and enable dts for rk3288 evb. will you take patches 1 and 2? Thanks Heiko Changes in v5: - max_transfer_size

Re: [PATCH] usb: dwc2: Read GNPTXFSIZ when in forced HOST mode.

2014-09-08 Thread Doug Anderson
Greg, On Thu, Aug 7, 2014 at 1:18 PM, Paul Zimmerman paul.zimmer...@synopsys.com wrote: From: Doug Anderson [mailto:diand...@chromium.org] Sent: Thursday, August 07, 2014 12:48 PM The documentation for GNPTXFSIZ says that For host mode, this field is always valid. Since we're already

Re: OOPS: musb_hdrc

2014-09-08 Thread Felipe Balbi
Hi, it kinda helps if you Cc the maintainer :-) scripts/get_maintainer.pl helps by returning a (usually) correct (and extensive) list of people and mailing lists to Cc :-) anyway... On Mon, Sep 08, 2014 at 09:08:07PM +0400, Matwey V. Kornilov wrote: Hi, Running 3.16.1 on beaglebone black, I

Re: Iomega SCSI-to-USB cable problem

2014-09-08 Thread Alan Stern
On Mon, 8 Sep 2014, Mark wrote: Thanks very much for that! I booted with usb-storage.quirks=059b:0040:s to enable the single-LUN quirk. No change in dmesg output on connecting the drive/cable. I also compiled the kernel to add both US_FL_SINGLE_LUN and US_FL_BULK_IGNORE_TAG quirks. [For that

Re: [PATCH 4/9] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Felipe Balbi
Hi, On Mon, Sep 08, 2014 at 05:16:04PM +0200, Andrzej Pietrasiewicz wrote: W dniu 08.09.2014 o 17:03, Felipe Balbi pisze: HI, snip I think this series depends now on Michael's patch: http://www.spinics.net/lists/linux-usb/msg111692.html As far as I know Laurent already has it in

[PATCH 1/2] bcma: store more alternative addresses

2014-09-08 Thread Hauke Mehrtens
Each core could have more than one alternative address. There are cores with 8 alternative addresses for different functions. The PHY control in the Chip common B core is done through the 2. alternative address and not the first one. Signed-off-by: Hauke Mehrtens ha...@hauke-m.de CC:

Re: [PATCH RESEND v3 00/12] usb: dwc2/gadget: fix series (for v3.18)

2014-09-08 Thread Greg KH
On Thu, Sep 04, 2014 at 12:04:22PM -0700, Paul Zimmerman wrote: From: Robert Baldyga r.bald...@samsung.com I'm resending this patchset rebased on linux-next. Now it should apply. I'm lost, it seems some of these should be for 3.17-final and some for 3.18, can you please split this up into 2

Re: [PATCHv4 03/12] usb: dwc2: Update the gadget driver to use common dwc2_hsotg structure

2014-09-08 Thread Greg KH
On Tue, Aug 26, 2014 at 11:19:54AM -0500, dingu...@opensource.altera.com wrote: From: Dinh Nguyen dingu...@opensource.altera.com Adds the gadget data structure and appropriate data structure pointers to the common dwc2_hsotg data structure. To keep the driver data dereference code looking

RE: [PATCH RESEND v3 00/12] usb: dwc2/gadget: fix series (for v3.18)

2014-09-08 Thread Paul Zimmerman
From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, September 08, 2014 3:49 PM On Thu, Sep 04, 2014 at 12:04:22PM -0700, Paul Zimmerman wrote: From: Robert Baldyga r.bald...@samsung.com I'm resending this patchset rebased on linux-next. Now it should apply. I'm lost, it

Re: [PATCH RESEND v3 00/12] usb: dwc2/gadget: fix series (for v3.18)

2014-09-08 Thread Greg KH
On Mon, Sep 08, 2014 at 10:52:06PM +, Paul Zimmerman wrote: From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, September 08, 2014 3:49 PM On Thu, Sep 04, 2014 at 12:04:22PM -0700, Paul Zimmerman wrote: From: Robert Baldyga r.bald...@samsung.com I'm resending this

[PATCH v3 5/6] usb: gadget: f_uvc: remove compatibility layer

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com There are no users of the old interface left. Remove it. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v3 2/6] usb: gadget: uvc: separately compile some components of f_uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Compile uvc_queue, uvc_v4l2, uvc_video separately so that later they can be all combined in a separately compiled f_uvc. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de [Make

[PATCH v3 4/6] usb: gadget: webcam: convert webcam to new interface of f_uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Use the new function interface of f_uvc. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de Signed-off-by: Laurent Pinchart laurent.pinch...@ideasonboard.com ---

[PATCH v3 6/6] usb: gadget: f_uvc: use usb_gstrings_attach

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Attach strings to gadget with usb_strings_attach. It is required for correct instantiation of functions more than once: instead of modifying the local uvc_en_us_strings a function instance specific copy is created with usb_gstrings_attach.

[PATCH v3 1/6] usb: gadget: uvc: rename functions to avoid conflicts with host uvc

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Prepare for separate compilation of uvc function's components. Some symbols will have to be exported, so rename to avoid conflicts with functions of the same name in host uvc. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by:

[PATCH v3 0/6] UVC gadget patches for v3.18 (part 2)

2014-09-08 Thread Laurent Pinchart
Hi Felipe, These patches have previously been posted to linux-usb as part of the [PATCH v2 0/9] UVC gadget patches for v3.18 (part 2) series. I've rebased them on top of your next branch and dropped the ones that have already been applied. Could you please apply them to your tree for v3.18 ?

[PATCH v3 3/6] usb: gadget: f_uvc: convert f_uvc to new function interface

2014-09-08 Thread Laurent Pinchart
From: Andrzej Pietrasiewicz andrze...@samsung.com Use the new function registration interface. It is required in order to integrate configfs support. Signed-off-by: Andrzej Pietrasiewicz andrze...@samsung.com Tested-by: Michael Grzeschik m.grzesc...@pengutronix.de [Updated copyright years]

RE: [PATCH RESEND v3 00/12] usb: dwc2/gadget: fix series (for v3.18)

2014-09-08 Thread Paul Zimmerman
From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, September 08, 2014 4:01 PM On Mon, Sep 08, 2014 at 10:52:06PM +, Paul Zimmerman wrote: From: Greg KH [mailto:gre...@linuxfoundation.org] Sent: Monday, September 08, 2014 3:49 PM On Thu, Sep 04, 2014 at 12:04:22PM

[PATCH 3/5] usb: gadget: configfs: add reset API at usb_gadget_driver

2014-09-08 Thread Peter Chen
Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/configfs.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/configfs.c

[PATCH 5/5] usb: gadget: dbgp: add reset API at usb_gadget_driver

2014-09-08 Thread Peter Chen
Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/legacy/dbgp.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/legacy/dbgp.c

[PATCH 1/5] usb: gadget: add reset API at usb_gadget_driver

2014-09-08 Thread Peter Chen
Adding reset API for UDC bus reset handler is useful for below two issues. Current disconnect API at usb_gadget_driver is also invoked at udc's bus reset handler, but the document says it is invoked when the host is disconnected. Besides, we may expect the gadget_driver to do different things

[PATCH 4/5] usb: gadget: gadgetfs: add reset API at usb_gadget_driver

2014-09-08 Thread Peter Chen
Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/legacy/inode.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/legacy/inode.c

[PATCH 2/5] usb: gadget: composite: add reset API at usb_gadget_driver

2014-09-08 Thread Peter Chen
Add reset API at usb_gadget_driver, it calls disconnect handler currently, but may do different things in future. Signed-off-by: Peter Chen peter.c...@freescale.com --- drivers/usb/gadget/composite.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/gadget/composite.c

[PATCH 0/5] Add reset API for usb_gadget_driver

2014-09-08 Thread Peter Chen
Hi Felipe Alan, It is the first step for our discussion for adding reset, vbus, activation handler for udc framework. This patchset just adds .reset API at usb_gadget_driver, and the four gadget drivers still call disconnect handler at .reset. Peter Chen (5): usb: gadget: add reset API at

Re: [PATCH v6 4/4] phy: exynos5-usbdrd: Calibrate LOS levels for exynos5420/5800

2014-09-08 Thread Vivek Gautam
Hi, On Mon, Sep 8, 2014 at 7:14 PM, Felipe Balbi ba...@ti.com wrote: Hi, On Mon, Sep 08, 2014 at 09:53:09AM +0530, Vivek Gautam wrote: On Fri, Sep 5, 2014 at 11:26 PM, Felipe Balbi ba...@ti.com wrote: On Thu, Sep 04, 2014 at 12:01:19PM +0530, Vivek Gautam wrote: Don't we have

Re : Re: [PATCH v5 1/4] usb: gadget: pxa27x_udc: add devicetree support

2014-09-08 Thread robert . jarzmik
please split this patch. First add udc-gpio and fix all the gpio details, then add devicetree. Anything else for the serie ? -- Robert -- 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

Re: [PATCH 4/4] usb: dwc3: add tracepoints to aid debugging

2014-09-08 Thread Pratyush Anand
On Mon, Sep 08, 2014 at 09:35:33PM +0800, Felipe Balbi wrote: Hi, On Mon, Sep 08, 2014 at 09:30:27AM +0530, Pratyush Anand wrote: On Fri, Sep 05, 2014 at 10:56:26PM +0800, Felipe Balbi wrote: When we're debugging hard-to-reproduce and time-sensitive use cases, printk() poses too much

  1   2   >