Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Johan Hovold
On Thu, Oct 23, 2014 at 11:39:50AM +0800, Greg Kroah-Hartman wrote: > On Wed, Oct 22, 2014 at 11:31:34PM -0400, Perry Hung wrote: > > An official recent Windows driver from FTDI detects counterfeit devices > > and reprograms the internal EEPROM containing the USB PID to 0, effectively > > bricking

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

2014-10-23 Thread Daniel Vetter
On Wed, Oct 22, 2014 at 11:02:26AM +0300, Tomi Valkeinen wrote: > On 18/10/14 00:13, Jani Nikula wrote: > > Documentation/kbuild/kconfig-language.txt warns to use select with care, > > and in general use select only for non-visible symbols and for symbols > > with no dependencies, because select wi

Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Greg KH
On Thu, Oct 23, 2014 at 09:58:20AM +0200, Johan Hovold wrote: > On Thu, Oct 23, 2014 at 11:39:50AM +0800, Greg Kroah-Hartman wrote: > > On Wed, Oct 22, 2014 at 11:31:34PM -0400, Perry Hung wrote: > > > An official recent Windows driver from FTDI detects counterfeit devices > > > and reprograms the

Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Johan Hovold
On Thu, Oct 23, 2014 at 04:10:54PM +0800, Greg Kroah-Hartman wrote: > On Thu, Oct 23, 2014 at 09:58:20AM +0200, Johan Hovold wrote: > > On Thu, Oct 23, 2014 at 11:39:50AM +0800, Greg Kroah-Hartman wrote: > > > On Wed, Oct 22, 2014 at 11:31:34PM -0400, Perry Hung wrote: > > > > An official recent Wi

Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Greg KH
On Thu, Oct 23, 2014 at 10:17:03AM +0200, Johan Hovold wrote: > On Thu, Oct 23, 2014 at 04:10:54PM +0800, Greg Kroah-Hartman wrote: > > On Thu, Oct 23, 2014 at 09:58:20AM +0200, Johan Hovold wrote: > > > On Thu, Oct 23, 2014 at 11:39:50AM +0800, Greg Kroah-Hartman wrote: > > > > On Wed, Oct 22, 201

Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Greg KH
On Thu, Oct 23, 2014 at 04:27:50PM +0800, Perry Hung wrote: > It doesn't seem so, there's an IDA pro dump from somebody who decompiled the > driver: > > https://twitter.com/marcan42/status/525126731431038977/photo/1 A picture of the source code created by disassembling a binary driver that was wr

[PATCH] usb: ehci/ohci: use SIMPLE_DEV_PM_OPS to support hibernation

2014-10-23 Thread Wonhong Kwon
ehci/ohci just define .suspend/.resume functions for dev_pm_ops, but in order to support both STR(suspend-to-ram) and hibernation, other callbacks such as .freeze/.thaw are also required. Registering all required callbacks for both STR and hibernation can be done by SIMPLE_DEV_PM_OPS macro functio

[PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread russ . dill
From: Russ Dill This patch provides the FTDI genuine product verification steps as contained within the new 2.12.00 official release. It ensures that counterfeiters don't exploit engineering investment made by FTDI. Counterfeit ICs are destroying innovation in the industry. FTDI recommends that

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Greg KH
On Thu, Oct 23, 2014 at 01:52:24AM -0700, russ.d...@gmail.com wrote: > From: Russ Dill > > This patch provides the FTDI genuine product verification steps > as contained within the new 2.12.00 official release. It ensures > that counterfeiters don't exploit engineering investment made > by FTDI.

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Frans Klaver
On Thu, Oct 23, 2014 at 11:40 AM, Greg KH wrote: > On Thu, Oct 23, 2014 at 01:52:24AM -0700, russ.d...@gmail.com wrote: >> From: Russ Dill >> >> This patch provides the FTDI genuine product verification steps >> as contained within the new 2.12.00 official release. It ensures >> that counterfeite

[PATCH/TRIVIAL 4/4] uwb: Remove bogus colon after newline from debug message

2014-10-23 Thread Geert Uytterhoeven
Signed-off-by: Geert Uytterhoeven Cc: linux-usb@vger.kernel.org --- drivers/uwb/rsv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/uwb/rsv.c b/drivers/uwb/rsv.c index 0887ae982783b7df..536ad42b0a4b1d7e 100644 --- a/drivers/uwb/rsv.c +++ b/drivers/uwb/rsv.c @@ -2

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-23 Thread Sudip Mukherjee
On Fri, Oct 17, 2014 at 07:05:19PM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Friday, October 17, 2014 11:52 AM > > > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote: > > > > From: Sudip Mukherjee [mailto:sudipm.mukher...@gmail.com] > > > >

Re: [PATCH] usb: gadget: function: Fixed the return value on error path

2014-10-23 Thread Sebastian Andrzej Siewior
On 10/22/2014 04:03 PM, Pavitrakumar Managutte wrote: > Fixed the return value on failure. status variable > is set to 0 at usb_assign_descriptors call and the same is > returned on error which is incorrect. > > Signed-off-by: Pavitrakumar Managutte Acked-by: Sebastian Andrzej Siewior I spotted

Re: [PATCH v3 1/2] usb: dwc2: gadget: sparse warning of context imbalance

2014-10-23 Thread Greg Kroah-Hartman
On Thu, Oct 23, 2014 at 03:37:14PM +0530, Sudip Mukherjee wrote: > On Fri, Oct 17, 2014 at 07:05:19PM +, Paul Zimmerman wrote: > > > From: Felipe Balbi [mailto:ba...@ti.com] > > > Sent: Friday, October 17, 2014 11:52 AM > > > > > > On Fri, Oct 17, 2014 at 06:50:19PM +, Paul Zimmerman wrote

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread One Thousand Gnomes
> > drivers/usb/serial/ftdi_sio.c | 111 > > +- > > drivers/usb/serial/ftdi_sio.h | 41 > > 2 files changed, 151 insertions(+), 1 deletion(-) > > Funny patch, you should have saved it for April 1, otherwise people > might have actually ta

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Johan Hovold
On Thu, Oct 23, 2014 at 12:18:15PM +0100, One Thousand Gnomes wrote: > > > drivers/usb/serial/ftdi_sio.c | 111 > > > +- > > > drivers/usb/serial/ftdi_sio.h | 41 > > > 2 files changed, 151 insertions(+), 1 deletion(-) > > > > Funny patch

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

2014-10-23 Thread Tomi Valkeinen
On 23/10/14 11:10, Daniel Vetter wrote: > If we want to make BACKLIGHT_CLASS_DEVICE into a library thing then I > guess we could do that, but we must then also drag it out of all the other > meta options to make sure it's always available. No need I think to ditch BACKLIGHT_CLASS_DEVICE only depe

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Matwey V. Kornilov
On 23.10.2014 12:52, russ.d...@gmail.com wrote: From: Russ Dill This patch provides the FTDI genuine product verification steps as contained within the new 2.12.00 official release. It ensures that counterfeiters don't exploit engineering investment made by FTDI. Counterfeit ICs are destroying

[PATCH] uas: Add US_FL_NO_ATA_1X quirk for 2 more Seagate models

2014-10-23 Thread Hans de Goede
These drives hang when receiving ATA12 commands, so set the US_FL_NO_ATA_1X quirk to filter these out. Cc: sta...@vger.kernel.org # 3.16 Signed-off-by: Hans de Goede --- drivers/usb/storage/unusual_uas.h | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/usb/storage/unus

Re: [PATCH] usb: serial: Perform verification for FTDI FT232R devices

2014-10-23 Thread Mark Brown
On Thu, Oct 23, 2014 at 12:18:15PM +0100, One Thousand Gnomes wrote: > > > drivers/usb/serial/ftdi_sio.c | 111 > > > +- > > > drivers/usb/serial/ftdi_sio.h | 41 > > > 2 files changed, 151 insertions(+), 1 deletion(-) > > Funny patch, yo

TI Tiva Launchpad Luminary ICDI Bug

2014-10-23 Thread Moritz
Hi! With a recent Update from Kernel 3.16.14-1-x86_64 to linux-3.17.1-1-x86_64 my machine isn't able anymore to recognise my TI Tiva Lauchpad. lsusb normally has the following entry: Bus 004 Device 010: ID 1cbe:00fd Luminary Micro Inc. In-Circuit Debug Interface It vanishes with 3.17. I downgraded

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Felipe Balbi
On Wed, Oct 22, 2014 at 10:14:54AM -0400, Alan Stern wrote: > On Wed, 22 Oct 2014, Anton Tikhomirov wrote: > > > > That's right, and it's true for USB-2 as well. A ZLP is needed only in > > > cases where the host otherwise wouldn't know the transfer is over, > > > i.e., when the transfer length i

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Felipe Balbi
Hi, On Thu, Oct 23, 2014 at 08:48:08AM -0500, Felipe Balbi wrote: > On Wed, Oct 22, 2014 at 10:14:54AM -0400, Alan Stern wrote: > > On Wed, 22 Oct 2014, Anton Tikhomirov wrote: > > > > > > That's right, and it's true for USB-2 as well. A ZLP is needed only in > > > > cases where the host otherwi

Re: [PATCH 67/67] usb: gadget: remove unnecessary 'driver' argument

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 08:45:02AM +0200, Robert Baldyga wrote: > Hi Felipe, > > On 10/17/2014 07:17 PM, Felipe Balbi wrote: > > now that no UDC driver relies on the extra > > 'driver' argument to ->udc_stop(), we can > > safely remove it. > > > > Signed-off-by: Felipe Balbi > > I have already

Re: [PATCH 00/67] usb: pending changes for next merge window

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 11:02:44AM +0800, Peter Chen wrote: > On Fri, Oct 17, 2014 at 12:16:07PM -0500, Felipe Balbi wrote: > > Hi folks, > > > > here's a giant set of patches which I already have pending > > for v3.19 merge window. They still sit in my testing/next > > and will only be moved to n

Re: [PATCH] usb: dwc3: gadget: Properly initialize LINK TRB

2014-10-23 Thread Felipe Balbi
On Tue, Oct 21, 2014 at 04:31:10PM -0700, Jack Pham wrote: > On ISOC endpoints the last trb_pool entry used as a > LINK TRB is not getting zeroed out correctly due to > memset being called incorrectly and in the wrong place. > If pool allocated from DMA was not zero-initialized > to begin with this

Re: [PATCH] usb: ehci/ohci: use SIMPLE_DEV_PM_OPS to support hibernation

2014-10-23 Thread Alan Stern
On Thu, 23 Oct 2014, Wonhong Kwon wrote: > ehci/ohci just define .suspend/.resume functions for dev_pm_ops, but > in order to support both STR(suspend-to-ram) and hibernation, other > callbacks such as .freeze/.thaw are also required. > > Registering all required callbacks for both STR and hibern

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Alan Stern
On Thu, 23 Oct 2014, Felipe Balbi wrote: > here's v2: > > 8<-- > > From 1080b54d66e3e77410b41732e76746ed8e2c01c7 Mon Sep 17 00:00:00 2001 > From: Felipe Balbi > Date: Tue, 30 Sep 2014 10:39:14 -0500 > Subject: [PATCH] usb: dwc3: ep0: f

Re: [PATCH] usb: ehci/ohci: use SIMPLE_DEV_PM_OPS to support hibernation

2014-10-23 Thread Fabio Estevam
On Thu, Oct 23, 2014 at 6:48 AM, Wonhong Kwon wrote: > -#else /* !CONFIG_PM */ > +#else /* !CONFIG_PM_SLEEP */ > #define ehci_platform_suspend NULL > #define ehci_platform_resume NULL No need for these NULL defines anymore as you switched to SIMPLE_DEV_PM_OPS. > -#else /* !CONFIG_PM */ > +

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Felipe Balbi
Hi, On Thu, Oct 23, 2014 at 10:18:27AM -0400, Alan Stern wrote: > On Thu, 23 Oct 2014, Felipe Balbi wrote: > > > here's v2: > > > > 8<-- > > > > From 1080b54d66e3e77410b41732e76746ed8e2c01c7 Mon Sep 17 00:00:00 2001 > > From: Felipe Ba

Re: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: > This patch fixes probe function to match the pattern used elsewhere in > the driver, where power regulators are turned off as the last element in > the device shutdown procedure. > > Signed-off-by: Marek Szyprowski Paul, can I h

Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: > udc_stop() should clear ->driver pointer unconditionally to let the UDC > framework to work correctly with both registering/unregistering gadgets > and enabling/disabling gadgets by writing to > /sys/class/udc/*hsotg/soft_connect i

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-23 Thread Felipe Balbi
On Wed, Oct 22, 2014 at 04:19:45PM +0200, Rafael J. Wysocki wrote: > On Wednesday, October 22, 2014 10:33:08 AM Adrian Hunter wrote: > > On 21/10/14 16:13, Adrian Hunter wrote: > > > On 21/10/14 16:08, Rafael J. Wysocki wrote: > > >> On Tuesday, October 21, 2014 03:27:45 PM Adrian Hunter wrote: > >

Re: TI Tiva Launchpad Luminary ICDI Bug

2014-10-23 Thread Peter Stuge
Moritz wrote: > With a recent Update from Kernel 3.16.14-1-x86_64 to > linux-3.17.1-1-x86_64 my machine isn't able anymore to recognise my TI > Tiva Lauchpad. > lsusb normally has the following entry: > Bus 004 Device 010: ID 1cbe:00fd Luminary Micro Inc. In-Circuit Debug > Interface > It vanishes

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

2014-10-23 Thread Johan Hovold
On Wed, Oct 15, 2014 at 05:48:08PM +0300, Octavian Purdila wrote: Here's some late feedback due to travels. You managed to get two updates in there so commenting on the diff from v6. > +struct dln2_event_cb_entry { > + struct list_head list; > + u16 id; > + struct platform_device *pde

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

2014-10-23 Thread Johan Hovold
On Wed, Oct 15, 2014 at 05:48:09PM +0300, Octavian Purdila wrote: > +static int dln2_i2c_xfer(struct i2c_adapter *adapter, > + struct i2c_msg *msgs, int num) > +{ > + struct dln2_i2c *dln2 = i2c_get_adapdata(adapter); > + struct i2c_msg *pmsg; > + struct device *de

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/22/2014 03:27 PM, Paul Bolle wrote: > On Tue, 2014-10-21 at 15:47 -0500, Dinh Nguyen wrote: >> On 10/20/2014 02:42 PM, Paul Bolle wrote: >>> (Side note: drivers/usb/dwc2/Kconfig is sourced (in drivers/usb/Kconfig) >>> even if USB is _not_ set. But USB_DCW2 still depends on USB. Why is >>> tha

Re: [PATCH] usb: dwc3: gadget: Properly initialize LINK TRB

2014-10-23 Thread Jack Pham
On Thu, Oct 23, 2014 at 09:10:03AM -0500, Felipe Balbi wrote: > > Fixes: f6bafc6a1c ("usb: dwc3: convert TRBs into bitshifts") > > Signed-off-by: Jack Pham > > Cc: sta...@vger.kernel.org > > you should add a # v3.4+ after stable email, I'll add that myself this > time. Good to know for next time

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Paul Bolle
On Thu, 2014-10-23 at 10:05 -0500, Dinh Nguyen wrote: > On 10/22/2014 03:27 PM, Paul Bolle wrote: > > On Tue, 2014-10-21 at 15:47 -0500, Dinh Nguyen wrote: > Well, CONFIG_USB enables the host stack that is needed by the DWC2 > driver, without CONFIG_USB, the DWC2 driver will not be able to build. >

RE: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Thursday, October 23, 2014 8:01 AM > > On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: > > This patch fixes probe function to match the pattern used elsewhere in > > the driver, where power regulators are turned off as the last e

RE: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Paul Zimmerman
> From: Felipe Balbi [mailto:ba...@ti.com] > Sent: Thursday, October 23, 2014 8:02 AM > > On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: > > udc_stop() should clear ->driver pointer unconditionally to let the UDC > > framework to work correctly with both registering/unregisterin

RE: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Paul Zimmerman
> From: Bartlomiej Zolnierkiewicz [mailto:b.zolnier...@samsung.com] > Sent: Wednesday, October 22, 2014 5:26 AM > > On Monday, October 20, 2014 01:52:06 PM dingu...@opensource.altera.com wrote: > > From: Dinh Nguyen > > > > config USB_DWC2_PLATFORM > > bool "DWC2 Platform" > > - depends on

Re: [PATCHv5 7/7] usb: dwc2: Update Kconfig to support dual-role

2014-10-23 Thread Dinh Nguyen
On 10/23/2014 01:28 PM, Paul Zimmerman wrote: >> From: Bartlomiej Zolnierkiewicz [mailto:b.zolnier...@samsung.com] >> Sent: Wednesday, October 22, 2014 5:26 AM >> >> On Monday, October 20, 2014 01:52:06 PM dingu...@opensource.altera.com wrote: >>> From: Dinh Nguyen >>> >>> config USB_DWC2_PLATFOR

Re: [PATCH v2 03/10] usb: dwc2/gadget: fix gadget unregistration in udc_stop() function

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 06:18:51PM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Thursday, October 23, 2014 8:02 AM > > > > On Mon, Oct 20, 2014 at 12:45:33PM +0200, Marek Szyprowski wrote: > > > udc_stop() should clear ->driver pointer unconditionally to let

Re: [PATCH v2 04/10] usb: dwc2/gadget: disable phy before turning off power regulators

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 06:15:57PM +, Paul Zimmerman wrote: > > From: Felipe Balbi [mailto:ba...@ti.com] > > Sent: Thursday, October 23, 2014 8:01 AM > > > > On Mon, Oct 20, 2014 at 12:45:34PM +0200, Marek Szyprowski wrote: > > > This patch fixes probe function to match the pattern used elsewh

Re: [PATCH] usb: dwc3: gadget: Properly initialize LINK TRB

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 09:36:14AM -0700, Jack Pham wrote: > On Thu, Oct 23, 2014 at 09:10:03AM -0500, Felipe Balbi wrote: > > > Fixes: f6bafc6a1c ("usb: dwc3: convert TRBs into bitshifts") > > > Signed-off-by: Jack Pham > > > Cc: sta...@vger.kernel.org > > > > you should add a # v3.4+ after stab

Re: [PATCHv5 2/7] usb: dwc2: Move gadget probe function into platform code

2014-10-23 Thread Felipe Balbi
On Wed, Oct 22, 2014 at 08:54:00PM +, Paul Zimmerman wrote: > > From: Bartlomiej Zolnierkiewicz [mailto:b.zolnier...@samsung.com] > > Sent: Wednesday, October 22, 2014 4:16 AM > > > > On Monday, October 20, 2014 01:52:01 PM dingu...@opensource.altera.com > > wrote: > > > From: Dinh Nguyen >

[PATCH] omap2430: use MUSB_DEVCTL_BDEVICE

2014-10-23 Thread Sergei Shtylyov
The OMAP2+ MUSB glue layer still uses a bare number for the DEVCTL.B-Device bit in one place, while there's #define MUSB_DEVCTL_BDEVICE for that. Signed-off-by: Sergei Shtylyov --- The patch is against the 'next' branch of Felipe Balbi's 'usb.git' repo. drivers/usb/musb/omap2430.c |3 ++-

Re: kernel 3.17.1: fail to use USB3 device after resuming from suspend

2014-10-23 Thread Rafael J. Wysocki
On Thursday, October 23, 2014 10:15:50 PM Francis Moreau wrote: > Hello, > > After resuming from a suspend (to RAM), I can't use an external USB hard > drive anymore, the kernel seems to fail to detect it. > > Here is the kernel log when doing a suspend/resume cycle. > > [Oct23 22:03] wlp2s0: de

Re: [resend PATCH 1/3] ACPI / platform: provide default DMA mask

2014-10-23 Thread Rafael J. Wysocki
On Thursday, October 23, 2014 10:06:05 AM Felipe Balbi wrote: > > --HSQ3hISbU3Um6hch > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > On Wed, Oct 22, 2014 at 04:19:45PM +0200, Rafael J. Wysocki wrote: > > On Wednesday, Oc

RE: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Anton Tikhomirov
Hi, On Thu, 23 Oct 2014, Alan Stern wrote: > On Thu, 23 Oct 2014, Felipe Balbi wrote: > > > here's v2: > > > > 8<-- > > > > From 1080b54d66e3e77410b41732e76746ed8e2c01c7 Mon Sep 17 00:00:00 > 2001 > > From: Felipe Balbi > > Date: Tue,

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Felipe Balbi
HI, On Fri, Oct 24, 2014 at 10:14:19AM +0900, Anton Tikhomirov wrote: > > Hi, > > On Thu, 23 Oct 2014, Alan Stern wrote: > > On Thu, 23 Oct 2014, Felipe Balbi wrote: > > > > > here's v2: > > > > > > 8<-- > > > > > > From 1080b54d66e3e7

Re: [PATCH] usb: serial: Add "bricked" FTDI device PID

2014-10-23 Thread Hector Martin
> On Thu, Oct 23, 2014 at 04:27:50PM +0800, Perry Hung wrote: >> It doesn't seem so, there's an IDA pro dump from somebody who decompiled the >> driver: >> >> https://twitter.com/marcan42/status/525126731431038977/photo/1 > > A picture of the source code created by disassembling a binary driver >

Re: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Felipe Balbi
On Thu, Oct 23, 2014 at 10:18:41PM -0500, Felipe Balbi wrote: > HI, > > On Fri, Oct 24, 2014 at 10:14:19AM +0900, Anton Tikhomirov wrote: > > > > Hi, > > > > On Thu, 23 Oct 2014, Alan Stern wrote: > > > On Thu, 23 Oct 2014, Felipe Balbi wrote: > > > > > > > here's v2: > > > > > > > > 8<

RE: [PATCH 18/28] usb: dwc3: ep0: fix Data Phase for transfer sizes aligned to wMaxPacketSize

2014-10-23 Thread Anton Tikhomirov
Hi, > On Thu, Oct 23, 2014 at 10:18:41PM -0500, Felipe Balbi wrote: > > HI, > > > > On Fri, Oct 24, 2014 at 10:14:19AM +0900, Anton Tikhomirov wrote: > > > > > > Hi, > > > > > > On Thu, 23 Oct 2014, Alan Stern wrote: > > > > On Thu, 23 Oct 2014, Felipe Balbi wrote: > > > > > > > > > here's v2: > >

Re: [PATCH] ARM: shmobile: add USB3.0 device node on r8a7791

2014-10-23 Thread Simon Horman
On Wed, Oct 08, 2014 at 03:27:55PM +0900, Yoshihiro Shimoda wrote: > (2014/10/08 15:24), Yoshihiro Shimoda wrote: > > This patch is based on Simon's renesas.git branch and > > renesas-devel-20141007-v3.17 tag. > > Since koelsch and henninger doesn't have a USB3.0 connector, > > I submit a patch fo

Re: [PATCH 0/2] ARM: shmobile: add USB3.0 device node on r8a7790

2014-10-23 Thread Simon Horman
On Wed, Oct 08, 2014 at 03:24:28PM +0900, Yoshihiro Shimoda wrote: > This series is based on Simon's renesas.git branch and > renesas-devel-20141007-v3.17 tag. If we use the generic phy > driver for R-Car Gen2 (drivers/phy/phy-rcar-gen2.c), we can use > the USB3.0 on lager. > > Yoshihiro Shimoda

RE: [PATCH 0/2] ARM: shmobile: add USB3.0 device node on r8a7790

2014-10-23 Thread yoshihiro shimoda
Hi Simon-san, > On Wed, Oct 08, 2014 at 03:24:28PM +0900, Yoshihiro Shimoda wrote: > > This series is based on Simon's renesas.git branch and > > renesas-devel-20141007-v3.17 tag. If we use the generic phy driver for > > R-Car Gen2 (drivers/phy/phy-rcar-gen2.c), we can use the USB3.0 on > > lager

RE: [PATCH] ARM: shmobile: add USB3.0 device node on r8a7791

2014-10-23 Thread yoshihiro shimoda
Hi Simon-san, > On Wed, Oct 08, 2014 at 03:27:55PM +0900, Yoshihiro Shimoda wrote: > > (2014/10/08 15:24), Yoshihiro Shimoda wrote: > > > This patch is based on Simon's renesas.git branch and > > > renesas-devel-20141007-v3.17 tag. > > > Since koelsch and henninger doesn't have a USB3.0 connector

[PATCH v2] usb: ehci/ohci-platform: use SIMPLE_DEV_PM_OPS to support hibernation

2014-10-23 Thread Wonhong Kwon
ehci/ohci-platform just define .suspend/.resume functions for dev_pm_ops, but in order to support both STR(suspend-to-ram) and hibernation, other callbacks such as .freeze/.thaw are also required. Registering all required callbacks for both STR and hibernation can be done by SIMPLE_DEV_PM_OPS macr

Re: [PATCH 0/2] ARM: shmobile: add USB3.0 device node on r8a7790

2014-10-23 Thread Simon Horman
On Fri, Oct 24, 2014 at 04:44:28AM +, yoshihiro shimoda wrote: > Hi Simon-san, > > > On Wed, Oct 08, 2014 at 03:24:28PM +0900, Yoshihiro Shimoda wrote: > > > This series is based on Simon's renesas.git branch and > > > renesas-devel-20141007-v3.17 tag. If we use the generic phy driver for > >

Re: [PATCH] ARM: shmobile: add USB3.0 device node on r8a7791

2014-10-23 Thread Simon Horman
On Fri, Oct 24, 2014 at 04:43:55AM +, yoshihiro shimoda wrote: > Hi Simon-san, > > > On Wed, Oct 08, 2014 at 03:27:55PM +0900, Yoshihiro Shimoda wrote: > > > (2014/10/08 15:24), Yoshihiro Shimoda wrote: > > > > This patch is based on Simon's renesas.git branch and > > > > renesas-devel-201410

Re: [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board

2014-10-23 Thread Simon Horman
On Wed, Oct 08, 2014 at 11:53:11PM +0400, Sergei Shtylyov wrote: > Hello. > >Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree support > on the R8A7790/Lager reference board. The patchset requires the

Re: [PATCH v4 0/2] Add HS-USB device tree support for R8A7790/Lager board

2014-10-23 Thread Yoshihiro Shimoda
Hi Simon-san, (2014/10/24 14:09), Simon Horman wrote: > On Wed, Oct 08, 2014 at 11:53:11PM +0400, Sergei Shtylyov wrote: >> Hello. >> >>Here's the set of 2 patches against Simon Horman's 'renesas.git' repo, >> 'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree >> support >

Re: [PATCH v3 1/3] Add HS-USB device tree support for R8A7791/Koelsch/Henninger board

2014-10-23 Thread Yoshihiro Shimoda
Hi Simon-san, (2014/10/09 2:59), Sergei Shtylyov wrote: > Hello. > >Here's the set of 3 patches against Simon Horman's 'renesas.git' repo, > 'renesas-devel-20141007-v3.17' tag. Here we add the HS-USB device tree support > on the R8A7791/Koelsch/Henninger reference boards. The patchset require