Re: [PATCH v2 1/2] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2013-11-29 Thread Chris Ruehl
On Tuesday, November 26, 2013 11:36 PM, Alexander Shiyan wrote: This adds i.MX27 and i.MX31 as the next user of the usbmisc driver. Signed-off-by: Alexander Shiyan --- drivers/usb/chipidea/usbmisc_imx.c | 42 ++ 1 file changed, 42 insertions(+) diff --gi

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-29 Thread Michael Trimarchi
Hi On Sat, Nov 30, 2013 at 5:48 AM, Michael Trimarchi wrote: > Hi Roger > > On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros wrote: >> With u-boot 2013.10, USB devices are sometimes not detected >> on OMAP4 Panda. To make us independent of what bootloader does >> with the USB Host module, we must

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-29 Thread Michael Trimarchi
Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros wrote: > With u-boot 2013.10, USB devices are sometimes not detected > on OMAP4 Panda. To make us independent of what bootloader does > with the USB Host module, we must RESET it to get it to a known > good state. This patch Soft RESETs the

[PATCH 3/3 v3] usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init

2013-11-29 Thread Chris Ruehl
usb: chipidea: hw_phymode_configure moved before ci_usb_phy_init hw_phymode_configure configures the PORTSC registers and allow the following phy_inits to operate on the right parameters. This fix a problem where the UPLI (ISP1504) could not detected, because the Viewport was not available and reg

[PATCH 1/3 v3] usb: chipidea: Reallocate regmap only if lpm is detected

2013-11-29 Thread Chris Ruehl
usb: chipidea: Reallocate regmap only if lpm is detected The regmap only needs to reallocate if the hw_read on the CAP register shows lpm is used. Therefore the if() statement check the change. Signed-off-by: Chris Ruehl Acked-by: Peter Chen --- drivers/usb/chipidea/core.c |3 ++- 1 file c

[PATCH 2/3 v3] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Chris Ruehl
usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag * init the sts flag to 0 (missed) * Set PORTCS_STS only if VUSB_HS_PHY_TYPE > 1 otherwise the register is ReadOnly * Set/Reset correct BIT(28)/BIT(29) for STS Signed-off-by: Chris Ruehl --- drivers/usb/chipidea/core.c | 2

Re: net/usb/ax88179_178a driver broken in linux-3.12

2013-11-29 Thread Mark Lord
On 13-11-19 08:44 AM, Mark Lord wrote: > On 13-11-19 05:04 AM, David Laight wrote: >> >> Which changes did you revert? > > Just the bits that changed how the headroom/tailroom sizes > were checked and adjusted. See attachment for the revert patch > I am using here. My mailer unfortunately likes

Re: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Chris Ruehl
On Saturday, November 30, 2013 02:28 AM, Michael Grzeschik wrote: On Fri, Nov 29, 2013 at 03:19:45PM +0800, Chris Ruehl wrote: usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag * init the sts flag to 0 (missed) * set the sts flag only if not 0 Signed-off-by: Chris Ruehl -

Re: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Chris Ruehl
On Saturday, November 30, 2013 02:28 AM, Michael Grzeschik wrote: On Fri, Nov 29, 2013 at 03:19:45PM +0800, Chris Ruehl wrote: usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag * init the sts flag to 0 (missed) * set the sts flag only if not 0 Signed-off-by: Chris Ruehl ---

Re: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Chris Ruehl
On Saturday, November 30, 2013 02:28 AM, Michael Grzeschik wrote: On Fri, Nov 29, 2013 at 03:19:45PM +0800, Chris Ruehl wrote: usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag * init the sts flag to 0 (missed) * set the sts flag only if not 0 Signed-off-by: Chris Ruehl ---

Re: [PATCH v1 1/2] lib/scatterlist: export sg_miter_skip()

2013-11-29 Thread Tejun Heo
On Tue, Nov 26, 2013 at 12:43:37PM +0800, Ming Lei wrote: > sg_copy_buffer() can't meet demand for some drrivers(such usb > mass storage), so we have to use the sg_miter_* APIs to access > sg buffer, then need export sg_miter_skip() for these drivers. > > The API is needed for converting to sg_mit

Re: [PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-11-29 Thread Sergei Shtylyov
Hello. On 29-11-2013 19:46, david.cluyt...@gmail.com wrote: From: David Cluytens --- drivers/usb/class/cdc-acm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 3e7560f..8ad4e94 100644 --- a/drivers/usb/class/cdc-acm

[PATCH] usb: cdc-wdm: manage_power should always set needs_remote_wakeup

2013-11-29 Thread Bjørn Mork
Cc: Reported-by: Oliver Neukum Signed-off-by: Bjørn Mork --- drivers/usb/class/cdc-wdm.c |8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/drivers/usb/class/cdc-wdm.c b/drivers/usb/class/cdc-wdm.c index 4d387596f3f0..0b23a8639311 100644 --- a/drivers/usb/class/cdc-w

Re: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Michael Grzeschik
On Fri, Nov 29, 2013 at 03:19:45PM +0800, Chris Ruehl wrote: > usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag > > * init the sts flag to 0 (missed) > * set the sts flag only if not 0 > > Signed-off-by: Chris Ruehl > --- > drivers/usb/chipidea/core.c |8 ++-- > 1 f

Re: [PATCH v3 12/16] usb/gadget: FunctionFS: add devices management code

2013-11-29 Thread Michal Nazarewicz
Acked-by: Michal Nazarewicz Only some small comments. On Fri, Nov 22 2013, Andrzej Pietrasiewicz wrote: > @@ -2465,6 +2474,209 @@ static int ffs_func_revmap_intf(struct ffs_function > *func, u8 intf) > } > > > +/* Devices management > **

some question about period scheduleing

2013-11-29 Thread vichy
hi all: My connection like below ehci --> high speed hub -> full speed device I have some questions about period scheduling. 1. when creating qh for full speed device, why we set EHCI_TUNE_RL_TT. isn't it possible the full speed device return NAK during transaction? that mean once it rea

[PATCH] Added support for the Lenovo RD02-D400 USB Modem

2013-11-29 Thread david . cluytens
From: David Cluytens --- drivers/usb/class/cdc-acm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 3e7560f..8ad4e94 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c @@ -1515,6 +1515,8 @@ static int

Re: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-29 Thread Michael Trimarchi
Hi Roger On Fri, Nov 29, 2013 at 2:01 PM, Roger Quadros wrote: > With u-boot 2013.10, USB devices are sometimes not detected > on OMAP4 Panda. To make us independent of what bootloader does > with the USB Host module, we must RESET it to get it to a known > good state. This patch Soft RESETs the

Re: USB instabilities with Atheros AR9344

2013-11-29 Thread Kristian Evensen
Hi, Thank you very much for the quick reply. On Fri, Nov 29, 2013 at 4:13 PM, Alan Stern wrote: > The most common reason for -71 errors is that the device failed to send > a reply or handshake packet back to the host. Generally this is caused > by a bug in the device's firmware (it can also be

Re: USB instabilities with Atheros AR9344

2013-11-29 Thread Alan Stern
On Fri, 29 Nov 2013, Kristian Evensen wrote: > Hello, > > I am currently working on an embedded project based on the Atheros > AR9344 SoC. As a prototype device, we are using the TP-Link TL-WDR4300 > router (http://wiki.openwrt.org/toh/tp-link/tl-wdr4300) and latest > OpenWRT trunk. The kernel is

Re: [PATCH 27/31] USB: EHCI: tegra: use reset framework

2013-11-29 Thread Thierry Reding
On Fri, Nov 15, 2013 at 01:54:22PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Tegra's clock driver now provides an implementation of the common > reset API (include/linux/reset.h). Use this instead of the old Tegra- > specific API; that will soon be removed. > > Cc: tred...@nvidia.c

RE: [PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-29 Thread David Laight
> From: Of Roger Quadros > With u-boot 2013.10, USB devices are sometimes not detected > on OMAP4 Panda. To make us independent of what bootloader does > with the USB Host module, we must RESET it to get it to a known > good state. This patch Soft RESETs the USB Host module. ... > +++ b/drivers/mfd

USB instabilities with Atheros AR9344

2013-11-29 Thread Kristian Evensen
Hello, I am currently working on an embedded project based on the Atheros AR9344 SoC. As a prototype device, we are using the TP-Link TL-WDR4300 router (http://wiki.openwrt.org/toh/tp-link/tl-wdr4300) and latest OpenWRT trunk. The kernel is 3.10.18. We have over the last couple of weeks experienc

[PATCH 0/1] mfd: omap-usb-host: Bug fix for 3.13 rc

2013-11-29 Thread Roger Quadros
Hi, This patch fixes USB device detection issues on OMAP4 Panda with latest u-boot release v2013.10. Please queue it for 3.13-rc cycle. Thanks. cheers, -roger Roger Quadros (1): mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda drivers/mfd/omap-usb-host.c | 115 ++

[PATCH 1/1] mfd: omap-usb-host: Fix USB device detection problems on OMAP4 Panda

2013-11-29 Thread Roger Quadros
With u-boot 2013.10, USB devices are sometimes not detected on OMAP4 Panda. To make us independent of what bootloader does with the USB Host module, we must RESET it to get it to a known good state. This patch Soft RESETs the USB Host module. Reported-by: Tomi Valkeinen Cc: # 3.10+ Signed-off-by

Re: [PATCH 1/3] ACPI / bind: Rework struct acpi_bus_type

2013-11-29 Thread Rafael J. Wysocki
On Friday, November 29, 2013 09:55:07 AM Lan Tianyu wrote: > On 2013年11月29日 08:37, Rafael J. Wysocki wrote: > > From: Rafael J. Wysocki > > > > Replace the .find_device function pointer in struct acpi_bus_type > > with a new one, .find_copmanion, that is supposed to point to a > -

Re: [PATCH 2/3] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Michael Grzeschik
On Fri, Nov 29, 2013 at 10:07:49AM +0800, Chris Ruehl wrote: > * init the sts flag to 0 (missed) > * set the sts flag only if not 0 > > Signed-off-by: Chris Ruehl > --- > drivers/usb/chipidea/core.c |8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/

RE: [PATCH v2 2/2] usb: chipidea: usbmisc: Add support for i.MX51 CPU

2013-11-29 Thread Peter Chen
> This adds i.MX51 as the next user of the usbmisc driver. > Functionality is similar to i.MX53, so at this stage simply > reuse existing i.MX53 calls. > > Signed-off-by: Alexander Shiyan > --- > drivers/usb/chipidea/usbmisc_imx.c | 4 > 1 file changed, 4 insertions(+) > > diff --git a/

RE: [PATCH v2 1/2] usb: chipidea: usbmisc: Add support for i.MX27/i.MX31 CPUs

2013-11-29 Thread Peter Chen
> > This adds i.MX27 and i.MX31 as the next user of the usbmisc driver. > > Signed-off-by: Alexander Shiyan > --- > drivers/usb/chipidea/usbmisc_imx.c | 42 > ++ > 1 file changed, 42 insertions(+) > > diff --git a/drivers/usb/chipidea/usbmisc_imx.c > b/dr

RE: [PATCH 1/3 v2] usb: chipidea: Reallocate regmap only if lpm is detected

2013-11-29 Thread Peter Chen
> -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Chris Ruehl > Sent: Friday, November 29, 2013 3:20 PM > To: alexander.shish...@linux.intel.com; gre...@linuxfoundation.org > Cc: linux-usb@vger.kernel.org; linux-ker...@

RE: [PATCH 2/3 v2] usb: chipidea: Fix Internal error: : 808 [#1] ARM related to STS flag

2013-11-29 Thread Peter Chen
Best regards, Peter Chen > -Original Message- > From: linux-usb-ow...@vger.kernel.org [mailto:linux-usb- > ow...@vger.kernel.org] On Behalf Of Chris Ruehl > Sent: Friday, November 29, 2013 3:20 PM > To: alexander.shish...@linux.intel.com; gre...@linuxfoundation.org > Cc: linux-usb@vger.

Re: [PATCH 1/8] usb/gadget: uvc: move descriptors to their only user

2013-11-29 Thread Andrzej Pietrasiewicz
Hi Laurent, hi Michael, W dniu 28.11.2013 22:59, Michael Grzeschik pisze: On Thu, Nov 28, 2013 at 10:53:03PM +0100, Laurent Pinchart wrote: On Thursday 28 November 2013 08:43:35 Andrzej Pietrasiewicz wrote: A bunch of descriptors is defined in webcam.c. They are used only by f_uvc. Move them t