Re: usb: customized USB Hub device doubt

2016-05-21 Thread Muni Sekhar
On Fri, May 20, 2016 at 10:46 PM, Greg KH wrote: > On Fri, May 20, 2016 at 09:20:15PM +0530, Muni Sekhar wrote: >> Hi, >> >> >> We have a customized USB Hub device which has a inbuilt device attached to >> it. >> >> By default Linux kernel’s USB Hub Class driver claims the customized Hub. >> >> I

[PATCH 0058/1529] Fix typo

2016-05-21 Thread Andrea Gelmini
Signed-off-by: Andrea Gelmini --- Documentation/usb/authorization.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/usb/authorization.txt b/Documentation/usb/authorization.txt index c7e985f..f901ec7 100644 --- a/Documentation/usb/authorization.txt +++ b/Docume

Re: [PATCH] usb: host: ehci-msm: Conditionally call ehci suspend/resume

2016-05-21 Thread Alan Stern
On Fri, 20 May 2016, Andy Gross wrote: > This patch fixes a suspend/resume issue where the driver is blindly > calling ehci_suspend/resume functions when the ehci hasn't been setup. > This results in a crash during suspend/resume operations. > > Signed-off-by: Andy Gross > --- > drivers/usb/hos

Re: [OOPS] cppi41_dma_channel_program: Unable to handle kernel NULL pointer dereference

2016-05-21 Thread Matwey V. Kornilov
2016-05-21 6:13 GMT+03:00 Bin Liu : > Hi, > > On Fri, May 20, 2016 at 4:20 PM, Matwey V. Kornilov wrote: >> 2016-05-21 0:12 GMT+03:00 Bin Liu : >>> Hi, >>> >>> On Sat, May 21, 2016 at 12:05:06AM +0300, Matwey V. Kornilov wrote: By the way, is it ok that function musb_rx_dma_iso_cppi41 uses >>

Re: [PATCH 0058/1529] Fix typo

2016-05-21 Thread Greg KH
On Sat, May 21, 2016 at 01:44:37PM +0200, Andrea Gelmini wrote: > Signed-off-by: Andrea Gelmini > --- > Documentation/usb/authorization.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Same here, no changelog text == no acceptance. -- To unsubscribe from this list: send the line "unsu

Re: usb: customized USB Hub device doubt

2016-05-21 Thread Greg KH
On Sat, May 21, 2016 at 04:41:05PM +0530, Muni Sekhar wrote: > On Fri, May 20, 2016 at 10:46 PM, Greg KH wrote: > > On Fri, May 20, 2016 at 09:20:15PM +0530, Muni Sekhar wrote: > >> Hi, > >> > >> > >> We have a customized USB Hub device which has a inbuilt device attached to > >> it. > >> > >> By

[PATCH 1/2] usb: gadget: f_fs: printk error when excess data is dropped on read

2016-05-21 Thread Michal Nazarewicz
Add a pr_err when host sent more data then the size of the buffer user space gave us. This may happen on UDCs which require OUT requests to be aligned to max packet size. The patch includes a description of the situation. Signed-off-by: Michal Nazarewicz --- drivers/usb/gadget/function/f_fs.c

[PATCH 2/2] usb: gadget: f_fs: buffer data from ‘oversized’ OUT requests

2016-05-21 Thread Michal Nazarewicz
f_fs rounds up read(2) requests to a multiple of a max packet size which means that host may provide more data than user has space for. So far, the excess data has been silently ignored. This introduces a buffer for a tail of such requests so that they are returned on next read instead of being ig

[PATCH 0/2] f_fs: better handle excess data on read

2016-05-21 Thread Michal Nazarewicz
Between this set and Du, Changbin’s patch, we now have implementation for the following three possibilities to choose from: 1. Buffer excess data (this whole patch set). 2. Fail the transfer (Du, Changbin’s patch). 3. Drop excess data (the first patch from this set). As per earlier comments, I thi

Re: [OOPS] cppi41_dma_channel_program: Unable to handle kernel NULL pointer dereference

2016-05-21 Thread Matwey V. Kornilov
2016-05-21 20:50 GMT+03:00 Matwey V. Kornilov : > 2016-05-21 6:13 GMT+03:00 Bin Liu : >> Hi, >> >> On Fri, May 20, 2016 at 4:20 PM, Matwey V. Kornilov >> wrote: >>> 2016-05-21 0:12 GMT+03:00 Bin Liu : Hi, On Sat, May 21, 2016 at 12:05:06AM +0300, Matwey V. Kornilov wrote: > By