RE: [PATCH v2] USB: chipidea: Do not hang when CONFIG_USB_CHIPIDEA_ULPI is not selected

2018-07-01 Thread Peter Chen
> > On Mon, Jun 25, 2018 at 7:24 AM Fabio Estevam wrote: > > > > From: Fabio Estevam > > > > Since commit 03e6275ae381087bd8 ("usb: chipidea: Fix ULPI on imx51") > > the kernel hangs on a imx51-babbage board, when using the ULPI > > interface with the CONFIG_USB_CHIPIDEA_ULPI option

[PATCH 07/12 v2] usb: usbtest: use irqsave() in USB's complete callback

2018-07-01 Thread Sebastian Andrzej Siewior
The USB completion callback does not disable interrupts while acquiring the lock. We want to remove the local_irq_disable() invocation from __usb_hcd_giveback_urb() and therefore it is required for the callback handler to disable the interrupts while acquiring the lock. The callback may be invoked

Re: [PATCH] Bluetooth: btusb: use irqsave() in URB's complete callback

2018-07-01 Thread Sebastian Andrzej Siewior
On 2018-06-21 11:34:15 [-0400], Alan Stern wrote: > On Thu, 21 Jun 2018, Sebastian Andrzej Siewior wrote: > > > On 2018-06-21 14:43:41 [+0200], Marcel Holtmann wrote: > > > can I get an ACK from someone ensuring that this is the direction we are > > > going with the USB host controllers? > >

Re: Zero Packets in Isochronous Transfer Reception

2018-07-01 Thread Alan Stern
On Sat, 30 Jun 2018, R0b0t1 wrote: > Hello, > > My code is a userspace application using libusb for now, but this > seems the best place to ask. > > I repurposed some USB audio class device code. At this point I've only > changed the descriptor to report as vendor class so nothing else grabs >

Re: [PATCH 4.18 REGRESSION fix 2/2] i2c-cht-wc: Fix bq24190 supplier

2018-07-01 Thread Guenter Roeck
On 07/01/2018 02:48 AM, Hans de Goede wrote: Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through power_supply") moved the code to register a power_supply representing the device supplying power to the type-C connector, from the fusb302 code to the generic tcpm code. This has

Re: [PATCH 4.18 REGRESSION fix 1/2] typec: tcpm: Correctly report power_supply current and voltage for non pd supply

2018-07-01 Thread Guenter Roeck
On 07/01/2018 02:48 AM, Hans de Goede wrote: Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through power_supply") moved the code to register a power_supply representing the device supplying power to the type-C connector, from the fusb302 code to the generic tcpm code so that we have

Re: [PATCH] USB: typec: fsusb302: Drop empty set_current_limit implementation

2018-07-01 Thread Guenter Roeck
On 07/01/2018 05:27 AM, Hans de Goede wrote: The set_current_limit tcpm_dev callback is optional and the tcpm core will already log the passed in values, so there is no need to have an empty implementation of this. Signed-off-by: Hans de Goede Reviewed-by: Guenter Roeck ---

[PATCH] USB: typec: fsusb302: Drop empty set_current_limit implementation

2018-07-01 Thread Hans de Goede
The set_current_limit tcpm_dev callback is optional and the tcpm core will already log the passed in values, so there is no need to have an empty implementation of this. Signed-off-by: Hans de Goede --- drivers/usb/typec/fusb302/fusb302.c | 12 1 file changed, 12 deletions(-) diff

Re: [PATCH 4.18 REGRESSION fix 0/2] typec: tcpm: Fix current-limit for non PD charging

2018-07-01 Thread Wolfram Sang
> grouped together. Wolfgang, can we have your ack for Greg merging both > through the USB tree? My name is "Wolfram". signature.asc Description: PGP signature

Re: [PATCH 4.18 REGRESSION fix 2/2] i2c-cht-wc: Fix bq24190 supplier

2018-07-01 Thread Wolfram Sang
On Sun, Jul 01, 2018 at 11:48:35AM +0200, Hans de Goede wrote: > Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through > power_supply") moved the code to register a power_supply representing > the device supplying power to the type-C connector, from the fusb302 > code to the generic

[PATCH 4.18 REGRESSION fix 2/2] i2c-cht-wc: Fix bq24190 supplier

2018-07-01 Thread Hans de Goede
Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through power_supply") moved the code to register a power_supply representing the device supplying power to the type-C connector, from the fusb302 code to the generic tcpm code. This has caused the power-supply registered by the fusb302

[PATCH 4.18 REGRESSION fix 1/2] typec: tcpm: Correctly report power_supply current and voltage for non pd supply

2018-07-01 Thread Hans de Goede
Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through power_supply") moved the code to register a power_supply representing the device supplying power to the type-C connector, from the fusb302 code to the generic tcpm code so that we have a psy reporting the supply voltage and current

[PATCH 4.18 REGRESSION fix 0/2] typec: tcpm: Fix current-limit for non PD charging

2018-07-01 Thread Hans de Goede
Hi All, Commit f2a8aa053c17 ("typec: tcpm: Represent source supply through power_supply"), causes the GPD win and pocket to charge at 5V 500ma instead of 5V 2000ma when using a non PD charger (the GPD win comes with a non PD charger). These 2 patches fix this. They are both needed to fix this,