Re: [PATCH v8 4/4] power: wm831x_power: Support USB charger current limit management

2016-03-27 Thread Geert Uytterhoeven
On Thu, Mar 24, 2016 at 1:35 PM, Baolin Wang wrote: > --- a/drivers/power/wm831x_power.c > +++ b/drivers/power/wm831x_power.c > @@ -13,6 +13,7 @@ > #include > #include > #include > +#include > > #include > #include > @@ -31,6 +32,8 @@ struct wm831x_power { > char usb_name[20]; >

Re: driver migration

2016-03-27 Thread tilman
I moved the initialization and clean up code from the init_callback/release callback to the port_init/port_remove callback. This did not help. What prevents the driver from crashing is to initialize the spinlock via spin_lock_init(&priv->lock). Not sure if I originally had forgotten the command, an

[PATCH TRIVIAL] drivers/net/usb/plusb.c: Fix typo

2016-03-27 Thread Diego Viola
Signed-off-by: Diego Viola --- drivers/net/usb/plusb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/usb/plusb.c b/drivers/net/usb/plusb.c index 1bfe0fc..22e1a9a 100644 --- a/drivers/net/usb/plusb.c +++ b/drivers/net/usb/plusb.c @@ -38,7 +38,7 @@ * HEADS UP: t

Re: [PATCH TRIVIAL] drivers/net/usb/plusb.c: Fix typo

2016-03-27 Thread David Miller
From: Diego Viola Date: Sun, 27 Mar 2016 20:58:15 -0300 > Signed-off-by: Diego Viola Applied, thanks. -- 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 http://vger.kernel.org/majordomo-info.html

Re: Chipidea in device mode & VBUS

2016-03-27 Thread Peter Chen
On Sat, Mar 26, 2016 at 06:57:26PM +0200, Svetoslav Neykov wrote: > I'm trying to use the chipidea driver in device mode on an AR9331 SOC board. > I've got it mostly working but can't figure out how to enable vbus_active. > Some details - the system supports both host & device modes, but not OTG. >

Re: are there any way to convert SOF to host time?

2016-03-27 Thread Peter Chen
On Sun, Mar 13, 2016 at 04:46:07PM +0100, Oleksij Rempel wrote: > Am 13.03.2016 um 16:30 schrieb Alan Stern: > > On Sun, 13 Mar 2016, Oleksij Rempel wrote: > > > >> Hallo all, > >> > >> i need to sync device clock with host clock, since device will return > >> SOF counter for each packet i need to

RE: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-27 Thread Rajesh Bhagat
> -Original Message- > From: Mathias Nyman [mailto:mathias.ny...@linux.intel.com] > Sent: Wednesday, March 23, 2016 7:52 PM > To: Rajesh Bhagat > Cc: gre...@linuxfoundation.org; linux-usb@vger.kernel.org; linux- > ker...@vger.kernel.org; Sriram Dash > Subject: Re: [PATCH] usb: xhci: Fix

Re: [PATCH v8 4/4] power: wm831x_power: Support USB charger current limit management

2016-03-27 Thread Baolin Wang
On 27 March 2016 at 16:22, Geert Uytterhoeven wrote: > On Thu, Mar 24, 2016 at 1:35 PM, Baolin Wang wrote: >> --- a/drivers/power/wm831x_power.c >> +++ b/drivers/power/wm831x_power.c >> @@ -13,6 +13,7 @@ >> #include >> #include >> #include >> +#include >> >> #include >> #include >> @@

Re: [PATCH v8 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-03-27 Thread Baolin Wang
On 25 March 2016 at 15:09, Peter Chen wrote: > On Thu, Mar 24, 2016 at 08:35:53PM +0800, Baolin Wang wrote: >> Currently the Linux kernel does not provide any standard integration of this >> feature that integrates the USB subsystem with the system power regulation >> provided by PMICs meaning tha

RE: [PATCH] usb: host: xhci-plat: Make enum xhci_plat_type start at a non zero value

2016-03-27 Thread Yoshihiro Shimoda
Hi, > Sent: Saturday, March 26, 2016 6:11 PM < snip > > > ps: there might be bugs there, but it's a holiday and I really shouldn't > > be spending time on this right now ;-) > > I'm also off on holiday now until Sunday 10th April... yay :-) > > > > Anyway, have fun testing. Let me know if it does