Re: [help] How to detect USB use

2013-02-14 Thread Mylene Josserand
Hi Greg, Okay, this is what I thought. I will see what I can do. Anyway, thank you for your answer and your advice ! Best regards, -- Mylène JOSSERAND Le 13/02/2013 19:52, Greg KH a écrit : On Wed, Feb 13, 2013 at 10:29:22AM +0100, Mylene Josserand wrote: Hi all ! I need some help

Re: [PATCH 2/5] usb: chipidea: flags to force usb mode (host/device)

2013-02-14 Thread Michael Grzeschik
Hi Svetoslav, On Wed, Feb 13, 2013 at 11:38:55PM +0200, Svetoslav Neykov wrote: The chipidea controller in the AR933x SOC supports both host and device modes but not OTG. Which USB mode is used depends on a pin state (GIPO13) during boot - HIGH for host, LOW for device mode. Currently if

Re: [RFC 2/4] tty: fix DTR/RTS not being dropped on hang up

2013-02-14 Thread Johan Hovold
On Wed, Feb 13, 2013 at 08:11:13PM -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 14:32 -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 18:27 +0100, Johan Hovold wrote: Move HUPCL handling to port shutdown so that DTR/RTS is dropped also on hang up. Currently a hung up port will

Re: [RFC 3/4] tty: clean up port drain-delay handling

2013-02-14 Thread Johan Hovold
On Wed, Feb 13, 2013 at 08:39:31PM -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 18:27 +0100, Johan Hovold wrote: Move port drain-delay handling to a separate function. --- drivers/tty/tty_port.c | 29 ++--- 1 file changed, 18 insertions(+), 11 deletions(-)

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Alexander Shishkin
Sascha Hauer s.ha...@pengutronix.de writes: From: Michael Grzeschik m.grzesc...@pengutronix.de This adds two little devicetree helper functions for determining the dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from the devicetree. Signed-off-by: Michael Grzeschik

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Marc Kleine-Budde
On 02/14/2013 10:36 AM, Alexander Shishkin wrote: Sascha Hauer s.ha...@pengutronix.de writes: From: Michael Grzeschik m.grzesc...@pengutronix.de This adds two little devicetree helper functions for determining the dr_mode (host, peripheral, otg) and phy_type (utmi, ulpi,...) from the

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Feb 14, 2013 at 10:49:44AM +0100, Marc Kleine-Budde wrote: diff --git a/drivers/usb/usb-common.c b/drivers/usb/usb-common.c index d29503e..ad4d87d 100644 --- a/drivers/usb/usb-common.c +++ b/drivers/usb/usb-common.c @@ -14,6 +14,9 @@ #include linux/kernel.h #include

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 11:58:22AM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 10:49:44AM +0100, Marc Kleine-Budde wrote: diff --git a/drivers/usb/usb-common.c b/drivers/usb/usb-common.c index d29503e..ad4d87d 100644 --- a/drivers/usb/usb-common.c +++

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Marc Kleine-Budde
On 02/14/2013 10:58 AM, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 10:49:44AM +0100, Marc Kleine-Budde wrote: diff --git a/drivers/usb/usb-common.c b/drivers/usb/usb-common.c index d29503e..ad4d87d 100644 --- a/drivers/usb/usb-common.c +++ b/drivers/usb/usb-common.c @@ -14,6 +14,9 @@

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Feb 14, 2013 at 11:07:22AM +0100, Sascha Hauer wrote: @@ -32,4 +35,37 @@ const char *usb_speed_string(enum usb_device_speed speed) } EXPORT_SYMBOL_GPL(usb_speed_string); +#ifdef CONFIG_OF +static const char *usb_dr_modes[] = { +

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
On Thu, Feb 14, 2013 at 11:11:55AM +0100, Marc Kleine-Budde wrote: @@ -32,4 +35,37 @@ const char *usb_speed_string(enum usb_device_speed speed) } EXPORT_SYMBOL_GPL(usb_speed_string); +#ifdef CONFIG_OF +static const char *usb_dr_modes[] = { +[USB_DR_MODE_UNKNOWN]

Re: [PATCH v9 02/20] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-02-14 Thread Roger Quadros
Hi Greg, On 01/23/2013 12:37 PM, Roger Quadros wrote: Let's have a single platform data structure for the OMAP's High-Speed USB host subsystem instead of having 3 separate ones i.e. one for board data, one for USB Host (UHH) module and one for USB-TLL module. This makes the code much

usb_wwan_write() called while device still being resumed

2013-02-14 Thread Alex Courbot
Hi everyone, I have this pretty weird issue on Android 3.1 kernel and would really appreciate some insight that would allow me to figure it out. Could not find any reference to a similar problem so I am seeking your advice. The board features a USB GSM modem using the usb_wwan module. Once

Re: [PATCH 1/2] USB mxs-phy: Register phy with framework

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote: We now have usb_add_phy_dev(), so use it to register with the framework to be able to find the phy from the USB driver. Signed-off-by: Sascha Hauer s.ha...@pengutronix.de Sascha, are you taking this through your tree or you

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 12:15:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 11:07:22AM +0100, Sascha Hauer wrote: @@ -32,4 +35,37 @@ const char *usb_speed_string(enum usb_device_speed speed) } EXPORT_SYMBOL_GPL(usb_speed_string); +#ifdef

Re: [PATCH 3/5] usb: chipidea: Don't access OTG related registers

2013-02-14 Thread Alexander Shishkin
Svetoslav Neykov svetos...@neykov.name writes: According to the datasheet the chipidea controller in AR933x doesn't expose OTG and TEST registers. If no OTG support is detected don't call functions which access those registers. Signed-off-by: Svetoslav Neykov svetos...@neykov.name ---

[GIT PULL] common: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Roger Quadros
Hi Tony Samuel, This is the common patch for the OMAP USB Host cleanup series for 3.9. It makes changes to platform headers only. The other 2 pull requests, one for each of you will be based on this. This is based on 3.8-rc6. Please pull. Thanks. The following changes since commit

[GIT PULL] mfd: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Roger Quadros
Hi Samuel, This contains the MFD portion of the OMAP USB Host cleanup series for 3.9. It is based on 3.8-rc6 + usbhost17-common that I've sent earlier. The first patch touches drivers/usb/ehci-omap.c and is pending ACK from Greg KH. The reason it needs to go through MFD tree is that it depends

[GIT PULL] arm-soc: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Roger Quadros
Hi Tony, This is the ARM-soc part of the OMAP USB Host cleanup series for 3.9. It is based on 3.8-rc6 + usbhost17-common that I sent earlier. Please pull. Thanks. The following changes since commit 7f07863ec60f7d3dbeec5aff881ea074db3925ed: ARM: OMAP: Consolidate OMAP USB-HS platform data

Re: [PATCH v8 0/8] Add tested id switch and vbus connect detect support for Chipidea

2013-02-14 Thread Alexander Shishkin
Peter Chen peter.c...@freescale.com writes: Changes for v7: - Add ci_supports_gadget helper to know if the controller supports gadget, if the controller supports gadget, it needs to read otgsc to know the vbus value, basically, if the controller supports gadget, it will support host as well

[GIT PULL] usb: bug fixes for ehci-omap for 3.9

2013-02-14 Thread Roger Quadros
Hi Greg, This pull request contains 2 bug fixes for ehci-omap for 3.9 as well as older kernels. It is based on 3.8-rc6. Please pull. Thanks. The following changes since commit 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7: Linux 3.8-rc6 (2013-02-01 12:08:14 +1100) are available in the git

Re: [GIT PULL] common: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Samuel Ortiz
Hi Roger, On Thu, Feb 14, 2013 at 02:01:25PM +0200, Roger Quadros wrote: Hi Tony Samuel, This is the common patch for the OMAP USB Host cleanup series for 3.9. It makes changes to platform headers only. The other 2 pull requests, one for each of you will be based on this. This is based

Re: [GIT PULL] mfd: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Samuel Ortiz
Hi Roger On Thu, Feb 14, 2013 at 02:02:55PM +0200, Roger Quadros wrote: Hi Samuel, This contains the MFD portion of the OMAP USB Host cleanup series for 3.9. It is based on 3.8-rc6 + usbhost17-common that I've sent earlier. The first patch touches drivers/usb/ehci-omap.c and is pending

Re: [PATCH v8 3/8] usb: chipidea: add otg id switch and vbus connect/disconnect detect

2013-02-14 Thread Alexander Shishkin
Peter Chen peter.c...@freescale.com writes: The main design flow is the same with msm otg driver, that is the id and vbus interrupt are handled at core driver, others are handled by individual drivers. - At former design, when switch usb role from device-host, it will call udc_stop, it will

[PATCH] USB: cdc-wdm: fix read buffer overflow

2013-02-14 Thread Bjørn Mork
Do not scribble past end of buffer. Check if the userspace buffer has enough space available before attempting to move more data there. Throw away all previously read data if the buffer is full. Cc: stable sta...@vger.kernel.org Signed-off-by: Bjørn Mork bj...@mork.no --- Hello Oliver! I hope I

Re: [PATCH 5/9] USB: chipidea: add PTW and PTS handling

2013-02-14 Thread Alexander Shishkin
Sascha Hauer s.ha...@pengutronix.de writes: From: Michael Grzeschik m.grzesc...@pengutronix.de This patch makes it possible to configure the PTW and PTS bits inside the portsc register for host and device mode before the driver starts and the phy can be addressed as hardware implementation

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
On Thu, Feb 14, 2013 at 12:24:49PM +0100, Sascha Hauer wrote: On Thu, Feb 14, 2013 at 12:15:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 11:07:22AM +0100, Sascha Hauer wrote: @@ -32,4 +35,37 @@ const char *usb_speed_string(enum usb_device_speed speed) }

Re: [PATCH v4] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Alexander Shishkin
Sascha Hauer s.ha...@pengutronix.de writes: 4th round of patches. Peter, I would be glad if you could test them before your holiday. I rebased your last round of Chipidea OTG patches onto this series which you can pull here: git://git.pengutronix.de/git/imx/linux-2.6.git

Re: [PATCH 4/5] usb: chipidea: AR933x platform support for the chipidea driver

2013-02-14 Thread Gabor Juhos
Hi Svetoslav, Support host and device usb modes for the chipidea controller in AR933x. The controller doesn't support OTG functionality so the platform code forces one of the modes based on the state of GPIO13 pin at startup. Signed-off-by: Svetoslav Neykov svetos...@neykov.name --- ...

[PATCH] USB: usb-storage: unusual_devs update for Super TOP SATA bridge

2013-02-14 Thread Josh Boyer
The current entry in unusual_cypress.h for the Super TOP SATA bridge devices seems to be causing corruption on newer revisions of this device. This has been reported in Arch Linux and Fedora. The original patch was tested on devices with bcdDevice of 1.60, whereas the newer devices report

Re: [GIT PULL] usb: bug fixes for ehci-omap for 3.9

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 02:14:11PM +0200, Roger Quadros wrote: Hi Greg, This pull request contains 2 bug fixes for ehci-omap for 3.9 as well as older kernels. It is based on 3.8-rc6. Please pull. Thanks. The following changes since commit 88b62b915b0b7e25870eb0604ed9a92ba4bfc9f7:

Re: [PATCH v9 02/20] mfd: omap-usb-host: Consolidate OMAP USB-HS platform data

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 12:18:17PM +0200, Roger Quadros wrote: Hi Greg, On 01/23/2013 12:37 PM, Roger Quadros wrote: Let's have a single platform data structure for the OMAP's High-Speed USB host subsystem instead of having 3 separate ones i.e. one for board data, one for USB Host (UHH)

[PATCH 1/2] USB: ehci-omap: Don't free gpios that we didn't request

2013-02-14 Thread Roger Quadros
This driver does not request any gpios so don't free them. Fixes L3 bus error on multiple modprobe/rmmod of ehci_hcd with ehci-omap in use. Without this patch, EHCI will break on repeated insmod/rmmod of ehci_hcd for all OMAP2+ platforms that use EHCI and set 'phy_reset = true' in

[PATCH 0/2] usb: bug fixes for ehci-omap for 3.9

2013-02-14 Thread Roger Quadros
Greg, These 2 patches contain bug fixes for ehci-omap for 3.9 as well as older kernels. Patches are based on 3.8-rc6. Please include them in your USB tree. Thanks. cheers, -roger -- 1.7.4.1 -- To unsubscribe from this list: send the line unsubscribe linux-usb in the body of a message to

[PATCH 2/2] USB: ehci-omap: Fix autoloading of module

2013-02-14 Thread Roger Quadros
The module alias should be ehci-omap and not omap-ehci to match the platform device name. The omap-ehci module should now autoload correctly. CC: sta...@vger.kernel.org Signed-off-by: Roger Quadros rog...@ti.com Acked-by: Alan Stern st...@rowland.harvard.edu --- drivers/usb/host/ehci-omap.c |

Re: [PATCH] USB: cdc-wdm: fix read buffer overflow

2013-02-14 Thread Oliver Neukum
On Thursday 14 February 2013 13:53:26 Bjørn Mork wrote: Do not scribble past end of buffer. Check if the userspace buffer has enough space available before attempting to move more data there. Throw away all previously read data if the buffer is full. Cc: stable sta...@vger.kernel.org

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 03:10:15PM +0200, Felipe Balbi wrote: On Thu, Feb 14, 2013 at 12:24:49PM +0100, Sascha Hauer wrote: On Thu, Feb 14, 2013 at 12:15:10PM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 11:07:22AM +0100, Sascha Hauer wrote: @@ -32,4 +35,37 @@ const

Re: [PATCH 1/2] USB mxs-phy: Register phy with framework

2013-02-14 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote: We now have usb_add_phy_dev(), so use it to register with the framework to be able to find the phy from the USB driver. Signed-off-by: Sascha Hauer

Re: [GIT PULL] arm-soc: OMAP USB Host cleanup for 3.9

2013-02-14 Thread Tony Lindgren
* Roger Quadros rog...@ti.com [130214 04:08]: Hi Tony, This is the ARM-soc part of the OMAP USB Host cleanup series for 3.9. It is based on 3.8-rc6 + usbhost17-common that I sent earlier. Please pull. Thanks. Thanks for reworking this series! I'll pull this. Regards, Tony The

[PATCH v2] USB: cdc-wdm: fix read buffer overflow

2013-02-14 Thread Bjørn Mork
Do not scribble past end of buffer. Check if the userspace buffer has enough space available before attempting to move more data there. Drop new data on overflow. Cc: stable sta...@vger.kernel.org Signed-off-by: Bjørn Mork bj...@mork.no --- Oliver Neukum oneu...@suse.de writes: I am afraid

Re: usb_wwan_write() called while device still being resumed

2013-02-14 Thread Bjørn Mork
Alex Courbot acour...@nvidia.com writes: The board features a USB GSM modem using the usb_wwan module. Once in a while, when the system resumes from LP0, a NET_RX softirq will be triggered while the modem is still being resumed, calling usb_wwan_write(). This will cause

Re: USB Ooops PL2303 when unplug while use (linux v3.7.3)

2013-02-14 Thread Johan Hovold
[ Remembered to drop Alan Cox from Cc. ] On Wed, Feb 13, 2013 at 01:40:08PM -0500, Peter Hurley wrote: On Wed, 2013-02-13 at 15:25 +0100, Johan Hovold wrote: On Fri, Feb 01, 2013 at 10:44:25AM +0800, Chris Ruehl wrote: I file a report for you, please have a look when you have time.

Re: [PATCH 1/2] USB mxs-phy: Register phy with framework

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Feb 14, 2013 at 05:23:37PM +0100, Sascha Hauer wrote: On Thu, Feb 14, 2013 at 12:37:29PM +0200, Felipe Balbi wrote: Hi, On Thu, Jan 31, 2013 at 12:32:16PM +0100, Sascha Hauer wrote: We now have usb_add_phy_dev(), so use it to register with the framework to be able to

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Feb 14, 2013 at 05:06:55PM +0100, Sascha Hauer wrote: Maybe we can ignore dr_mode in host-only and device-only builds and only look at it for DRD builds ? If something is or is not compiled in the kernel this doesn't mean the kernel is not

Re: [PATCH] net: cdc_ncm: fix probing of devices with multiple control interface altsettings

2013-02-14 Thread David Miller
From: Bjørn Mork bj...@mork.no Date: Wed, 13 Feb 2013 23:09:52 +0100 commit bd329e1 (net: cdc_ncm: do not bind to NCM compatible MBIM devices) added a test for a CDC MBIM altsetting, implementing the cdc_ncm part of MBIM backward compatibility support. This intentionally made the driver

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Sascha Hauer
On Thu, Feb 14, 2013 at 08:04:44PM +0200, Felipe Balbi wrote: Hi, On Thu, Feb 14, 2013 at 05:06:55PM +0100, Sascha Hauer wrote: Maybe we can ignore dr_mode in host-only and device-only builds and only look at it for DRD builds ? If something is or is not

Re: [usb-storage] Re: usb3.0 device recognized as usb2.1

2013-02-14 Thread Richard Genoud
2013/2/12 Sarah Sharp sarah.a.sh...@linux.intel.com: On Sun, Feb 03, 2013 at 09:52:42PM -0500, Alan Stern wrote: On Sun, 3 Feb 2013, Richard Genoud wrote: [previously] I tried to use this device : usb3.0 HDD dock ( http://www.icydock.com/goods.php?id=130 ) based on JMicron JMS539

Re: [PATCH 3/9] USB: add devicetree helpers for determining dr_mode and phy_type

2013-02-14 Thread Felipe Balbi
Hi, On Thu, Feb 14, 2013 at 07:30:26PM +0100, Sascha Hauer wrote: yeah, this is why I said we should ignore dr_mode (or bail out) when !OTG. Ok, that's what the patch effectively does. We have this in chipidea/core.c: | dr_mode = ci-platdata-dr_mode; |

Re: [PATCH v2] USB: cdc-wdm: fix read buffer overflow

2013-02-14 Thread Oliver Neukum
On Thursday 14 February 2013 18:10:43 Bjørn Mork wrote: Do not scribble past end of buffer. Check if the userspace buffer has enough space available before attempting to move more data there. Drop new data on overflow. Cc: stable sta...@vger.kernel.org Signed-off-by: Bjørn Mork

Re: [PATCH] USB: Add EHCI and OHCI for Renesas R-Mobile SoC (r8a7740)

2013-02-14 Thread Nobuhiro Iwamatsu
On Thu, Feb 14, 2013 at 12:52 PM, Kuninori Morimoto kuninori.morimoto...@renesas.com wrote: Hi +void rmobile_hc_start(struct usb_hcd *hcd, struct platform_device *pdev) ... + data = SMODE_READY_CTR | MMODE_HBUSREQ | + MMODE_WR_INCR | MMODE_BYTE_BURST |

io_edgeport problem - Digi Edgeport/4r with 3.2.0 linux

2013-02-14 Thread Doug Minett
Hi, I am using Ubuntu's 3.2.0-37 distribution of linux. Is there a known problem with the module in this version of the kernel? cat /dev/ttyUSB0 results in no such device message (checked device is present with rw r r root root permissions) I have tried a number of things to get the Digi

Re: io_edgeport problem - Digi Edgeport/4r with 3.2.0 linux

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 06:07:38PM -0500, Doug Minett wrote: Hi, I am using Ubuntu's 3.2.0-37 distribution of linux. Is there a known problem with the module in this version of the kernel? I don't know, but as this is a distro kernel, you really should contact the distro to get support for

Re: io_edgeport problem - Digi Edgeport/4r with 3.2.0 linux

2013-02-14 Thread Doug Minett
followup below. many thanks for your help. On Feb 14, 2013, at 18:32 PM, Greg KH wrote: On Thu, Feb 14, 2013 at 06:07:38PM -0500, Doug Minett wrote: Hi, I am using Ubuntu's 3.2.0-37 distribution of linux. Is there a known problem with the module in this version of the kernel? I don't

Re: [PATCH v5 1/4] ARM: Exynos5250: Enabling ehci-s5p driver

2013-02-14 Thread Vivek Gautam
On Sat, Feb 9, 2013 at 4:05 AM, Kukjin Kim kgene@samsung.com wrote: Vivek Gautam wrote: Adding EHCI device tree node for Exynos5250 along with the device base adress and gpio line for vbus. Signed-off-by: Vivek Gautam gautam.vi...@samsung.com Acked-by: Jingoo Han jg1@samsung.com

Re: io_edgeport problem - Digi Edgeport/4r with 3.2.0 linux

2013-02-14 Thread Greg KH
On Thu, Feb 14, 2013 at 11:52:19PM -0500, Doug Minett wrote: followup below. many thanks for your help. On Feb 14, 2013, at 18:32 PM, Greg KH wrote: On Thu, Feb 14, 2013 at 06:07:38PM -0500, Doug Minett wrote: Hi, I am using Ubuntu's 3.2.0-37 distribution of linux. Is there a known

Re: io_edgeport problem - Digi Edgeport/4r with 3.2.0 linux

2013-02-14 Thread Doug Minett
thanks Greg. My plan A is to see if I can get the Ubuntu folks to fix what is awry. Thanks for your analysis and suggestions. Doug Minett On 2013-02-15, at 12:23 AM, Greg KH gre...@linuxfoundation.org wrote: On Thu, Feb 14, 2013 at 11:52:19PM -0500, Doug Minett wrote: followup below. many

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

2013-02-14 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Eric Miao eric.y.m...@gmail.com Cc: Haojian Zhuang

[PATCH] USB: EHCI: make ehci-mv as separate static driver

2013-02-14 Thread Manjunath Goudar
Separate the mv host controller driver from ehci-hcd host code into its own static driver module. Signed-off-by: Manjunath Goudar manjunath.gou...@linaro.org Cc: Greg KH g...@kroah.com Cc: Alan Stern st...@rowland.harvard.edu Cc: Eric Miao eric.y.m...@gmail.com Cc: Haojian Zhuang

Re: [PATCH v2] USB: cdc-wdm: fix read buffer overflow

2013-02-14 Thread Bjørn Mork
Oliver Neukum oli...@neukum.org writes: On Thursday 14 February 2013 18:10:43 Bjørn Mork wrote: Do not scribble past end of buffer. Check if the userspace buffer has enough space available before attempting to move more data there. Drop new data on overflow. Cc: stable