[PATCH] usb: gadget: uvc: fix UVC_ATTR macro for UVCG_OPTS_ATTR

2016-12-11 Thread Jassi Brar
From: Jassi Brar Fix a typo bug that prevents creation of streaming_{interval,maxpacket,maxburst} nodes for invalid 'aname' node. Fixes: 76e0da34 ("usb-gadget/uvc: use per-attribute show and store methods") Signed-off-by: Jassi Brar Cc: sta...@vger.kernel.org Reviewed-by: Laurent Pinchart ---

[PATCH v10 0/2] the fixup for the USB HOST1 at rk3288 platform

2016-12-11 Thread Randy Li
changelog: v10 minior fixup v9 use a work_queue to reset usb phy to prevent access mutex lock at interrupter runtime. v8 minior fixup v7 add the forgot dummy phy_reset() for the generic phy is disabled. v7 Some minor fixup v6 Send the last two patches v5 A few modification at style, ad

[PATCH v10 2/2] ARM: dts: rockchip: Point rk3288 dwc2 usb at the full PHY reset

2016-12-11 Thread Randy Li
The "host1" port (AKA the dwc2 port that isn't the OTG port) on rk3288 has a hardware errata that causes everything to get confused when we get a remote wakeup. We'll use the reset that's in the CRU to reset the port when it's in a bad state. Note that we add the reset to both dwc2 controllers ev

[PATCH v10 1/2] usb: dwc2: assert phy reset when waking up in rk3288 platform

2016-12-11 Thread Randy Li
On the rk3288 USB host-only port (the one that's not the OTG-enabled port) the PHY can get into a bad state when a wakeup is asserted (not just a wakeup from full system suspend but also a wakeup from autosuspend). We can get the PHY out of its bad state by asserting its "port reset", but unfortun

Re: [PATCH] usb: gadget: uvc: fix UVC_ATTR macro for UVCG_OPTS_ATTR

2016-12-11 Thread Sergei Shtylyov
Hello! On 12/11/2016 02:45 PM, Jassi Brar wrote: From: Jassi Brar Fix a typo bug that prevents creation of streaming_{interval,maxpacket,maxburst} nodes for invalid 'aname' node. Fixes: 76e0da34 ("usb-gadget/uvc: use per-attribute show and store methods") The must be at least 12 digits,

Re: usb:xhci: support disable usb2 LPM Remote Wakeup

2016-12-11 Thread Thang Q. Nguyen
On Sat, Dec 10, 2016 at 4:36 AM, Rob Herring wrote: > On Sun, Dec 04, 2016 at 07:42:01PM +0700, Thang Q. Nguyen wrote: >> From: Thang Nguyen >> >> As per USB 2.0 link power management addendum ECN, table 1-2, page 4, >> device or host initiated via resume signaling; device-initiated resumes >> ca

RE: USB3.0 DWC3 can't work with latest Linux-4.9.rc7

2016-12-11 Thread Jerry Huang
Hi, Balbi, > -Original Message- > From: Felipe Balbi [mailto:felipe.ba...@linux.intel.com] > Sent: Thursday, December 08, 2016 6:56 PM > To: Jerry Huang ; st...@rowland.harvard.edu; > linux-usb@vger.kernel.org; Mathias Nyman > ; Arnd Bergmann > Cc: Sriram Dash ; Greg Kroah-Hartman > > S