Re: [Bug] Suspend fails due to PM: Device 0000:00:1d.0 failed to suspend async: error -16

2018-02-22 Thread Greg KH
On Thu, Feb 22, 2018 at 11:26:37PM +, De La Torre Mena, ElizabethX wrote: > According to https://bugzilla.kernel.org/show_bug.cgi?id=198893#c1, I'm > sending this to report the following bug: > > It happens easily if I ran the test, that sends the machine to S3 and > autoresume, twice giving

[Bug] Suspend fails due to PM: Device 0000:00:1d.0 failed to suspend async: error -16

2018-02-22 Thread De La Torre Mena, ElizabethX
According to https://bugzilla.kernel.org/show_bug.cgi?id=198893#c1, I'm sending this to report the following bug: It happens easily if I ran the test, that sends the machine to S3 and autoresume, twice giving back an rtcwake error. I'm attaching the dmesg with latest drm-tip. Kernel 4.16.0-rc1-

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2018-02-22 Thread Alan Stern
On Thu, 22 Feb 2018, Sebastian Andrzej Siewior wrote: > On 2018-02-16 16:46:41 [-0500], Alan Stern wrote: > > > The theaded interrupt runs SCHED_FIFO priority 50 by default. The only > > > thing that can interrupt it are interrupts, a softirq (not ksoftirqd) > > > and other tasks with a higher pri

Re: [PATCH v2] usb: host: ehci-platform: add support for optional external vbus supply

2018-02-22 Thread Alan Stern
On Thu, 22 Feb 2018, Amelie DELAUNAY wrote: > > --- a/Documentation/devicetree/bindings/usb/usb-ehci.txt > > +++ b/Documentation/devicetree/bindings/usb/usb-ehci.txt > > @@ -19,6 +19,7 @@ Optional properties: > > - phys : phandle + phy specifier pair > > - phy-names : "

[PATCH] usbip: vudc: fix null pointer dereference on udc->lock

2018-02-22 Thread Colin King
From: Colin Ian King Currently the driver attempts to spin lock on udc->lock before a NULL pointer check is performed on udc, hence there is a potential null pointer dereference on udc->lock. Fix this by moving the null check on udc before the lock occurs. Fixes: ea6873a45a22 ("usbip: vudc: Add

Re: [RFC PATCH] usb: hcd: complete URBs in threaded-IRQ context instead of tasklet

2018-02-22 Thread Sebastian Andrzej Siewior
On 2018-02-16 16:46:41 [-0500], Alan Stern wrote: > > The theaded interrupt runs SCHED_FIFO priority 50 by default. The only > > thing that can interrupt it are interrupts, a softirq (not ksoftirqd) > > and other tasks with a higher priority than 50. > > There should be no downside performance wise

Re: [PATCH 3/7] usb: dwc3: pci: Store device properties dynamically

2018-02-22 Thread Andy Shevchenko
On Thu, Feb 22, 2018 at 1:57 AM, Thinh Nguyen wrote: > On 2/21/2018 6:46 AM, Andy Shevchenko wrote: >> On Tue, Feb 20, 2018 at 11:12 PM, Thinh Nguyen >> wrote: >>> On 2/17/2018 7:29 AM, Andy Shevchenko wrote: On Fri, Feb 16, 2018 at 11:55 PM, Thinh Nguyen wrote: > Add the ability t

Re: Some questions about the UVC gadget

2018-02-22 Thread Laurent Pinchart
Hello Kelly, (CC'ing Paul Elder) On Thursday, 22 February 2018 11:03:42 EET Felipe Balbi wrote: > Kelly Huang writes: > > Dear Mr.Balbi, > > > > I am a college student from China. Recently, I am doing some research on > > the UVC gadget. After reading the source code, I found that the uvc gadge

Re: Host & gadget transparent driver

2018-02-22 Thread Krzysztof Opasiak
On 02/22/2018 11:17 AM, Greg KH wrote: On Thu, Feb 22, 2018 at 10:42:17AM +0100, Krzysztof Opasiak wrote: On 02/22/2018 10:32 AM, Ran Shalit wrote: [...] I don't know the exact case nor I'm license specialist but I think it's doable without license violation. Take a look at official displa

[GIT PULL] USB fixes for 4.16-rc3

2018-02-22 Thread Greg KH
The following changes since commit 7928b2cbe55b2a410a0f5c1f154610059c57b1b2: Linux 4.16-rc1 (2018-02-11 15:04:29 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.16-rc3 for you to fetch changes up to 44eb5e12b845cc8a063

Re: [PATCH v2] usb: host: ehci-platform: add support for optional external vbus supply

2018-02-22 Thread Amelie DELAUNAY
Hi, On 02/20/2018 07:10 PM, Alan Stern wrote: > On Tue, 20 Feb 2018, Roger Quadros wrote: > >> On 20/02/18 16:46, Amelie DELAUNAY wrote: >>> Hi, >>> >>> On 02/20/2018 03:00 PM, Roger Quadros wrote: Hi, On 20/02/18 14:58, Amelie Delaunay wrote: > On some boards, especially when

Re: Host & gadget transparent driver

2018-02-22 Thread Greg KH
On Thu, Feb 22, 2018 at 10:42:17AM +0100, Krzysztof Opasiak wrote: > > > On 02/22/2018 10:32 AM, Ran Shalit wrote: > [...] > > > > > > I don't know the exact case nor I'm license specialist but I think it's > > > doable without license violation. Take a look at official displaylink > > > drivers

RE: [PATCH] staging: typec: handle vendor defined part and modify drp toggling flow

2018-02-22 Thread Jun Li
Hi, > -Original Message- > From: linux-usb-ow...@vger.kernel.org > [mailto:linux-usb-ow...@vger.kernel.org] On Behalf Of ShuFanLee > Sent: 2018年2月21日 23:02 > To: heikki.kroge...@linux.intel.com; li...@roeck-us.net; g...@kroah.com > Cc: shufan_...@richtek.com; cy_hu...@richtek.com; > linux-

Re: Host & gadget transparent driver

2018-02-22 Thread Krzysztof Opasiak
On 02/22/2018 10:32 AM, Ran Shalit wrote: [...] I don't know the exact case nor I'm license specialist but I think it's doable without license violation. Take a look at official displaylink drivers[1]... They consist of two parts. First one is Kernel GPL code[2] which is obviously published to

Re: Host & gadget transparent driver

2018-02-22 Thread Ran Shalit
On Thu, Feb 22, 2018 at 10:46 AM, Krzysztof Opasiak wrote: > > > On 02/22/2018 07:53 AM, Greg KH wrote: >> >> On Wed, Feb 21, 2018 at 11:23:26PM +0200, Ran Shalit wrote: >>> >>> Hello, >>> >>> I am facing the following challenge: >>> >>> We have a camera device, and a ready drivers in the followin

Re: Some questions about the UVC gadget

2018-02-22 Thread Felipe Balbi
Hi, Kelly Huang writes: > Dear Mr.Balbi, > > I am a college student from China. Recently, I am doing some research on > the UVC gadget. After reading the source code, I found that the uvc gadget > framework only supports two types of video streaming format, the > UNCOMPRESSED and the MJPEG. > >

Re: Host & gadget transparent driver

2018-02-22 Thread Krzysztof Opasiak
On 02/22/2018 07:53 AM, Greg KH wrote: On Wed, Feb 21, 2018 at 11:23:26PM +0200, Ran Shalit wrote: Hello, I am facing the following challenge: We have a camera device, and a ready drivers in the following configuration: (1) host <--> camera The drivers for host is a binary, i.e. source cod

Re: Host & gadget transparent driver

2018-02-22 Thread Krzysztof Opasiak
On 02/21/2018 10:23 PM, Ran Shalit wrote: Hello, I am facing the following challenge: We have a camera device, and a ready drivers in the following configuration: (1) host <--> camera The drivers for host is a binary, i.e. source code is probably not available, and also the protocol datashe