Re: gadgetfs broken since 7f7f25e8

2015-03-08 Thread Al Viro
On Sat, Mar 07, 2015 at 04:08:49PM -0500, Alan Stern wrote: On Sat, 7 Mar 2015, Alexander Holler wrote: Am 07.03.2015 um 12:23 schrieb Alexander Holler: Am 04.03.2015 um 16:31 schrieb Alan Stern: check to see what those values actually were. It's easy enough to fix up, though;

Re: [PATCH] Fixed a typo

2015-03-08 Thread Greg KH
On Sun, Mar 08, 2015 at 05:08:22PM +, Mickael Maison wrote: Fixed a typo in drivers/usb/phy/of.c Signed-off-by: Mickael Maison mickael.mai...@gmail.com --- drivers/usb/phy/of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Same here for the subject: -- To unsubscribe from this

Re: [PATCH] Fixed a typo

2015-03-08 Thread Greg KH
On Sun, Mar 08, 2015 at 04:58:51PM +, Mickael Maison wrote: Fixed a typo in drivers/usb/phy/phy-ab8500-usb.c Please put the subsystem in the subject: otherwise we have no idea what part of the kernel you are referring to. So for this patch the subject should look like: Subject:

Re: gadgetfs broken since 7f7f25e8

2015-03-08 Thread Alan Stern
On Sun, 8 Mar 2015, Al Viro wrote: On Sat, Mar 07, 2015 at 04:08:49PM -0500, Alan Stern wrote: On Sat, 7 Mar 2015, Alexander Holler wrote: Am 07.03.2015 um 12:23 schrieb Alexander Holler: Am 04.03.2015 um 16:31 schrieb Alan Stern: check to see what those values actually

[PATCH] USB: phy: ab8500: Fixed comment typo

2015-03-08 Thread Mickael Maison
Fixed a comment typo in drivers/usb/phy/phy-ab8500-usb.c Signed-off-by: Mickael Maison mickael.mai...@gmail.com --- drivers/usb/phy/phy-ab8500-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c index

Re: gadgetfs broken since 7f7f25e8

2015-03-08 Thread Al Viro
On Sun, Mar 08, 2015 at 02:35:25PM -0400, Alan Stern wrote: FWIW, I've pushed those two fixes in vfs.git#gadget; could I have your s-o-b on the ep0 part? See 2b13438 in vfs.git... Certainly. Signed-off-by: Alan Stern st...@rowland.harvard.edu Amended and pushed... -- To unsubscribe

[PATCH] USB: phy: Fixed comment typo

2015-03-08 Thread Mickael Maison
Fixed a comment typo in drivers/usb/phy/of.c Signed-off-by: Mickael Maison mickael.mai...@gmail.com --- drivers/usb/phy/of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/of.c b/drivers/usb/phy/of.c index 7ea0154..66ffa82 100644 --- a/drivers/usb/phy/of.c

Re: [PATCH 1/1] usb: xhci: handle Config Error Change (CEC) in xhci driver

2015-03-08 Thread Lu, Baolu
Hi Alan, Do you have any comments for this patch? Thanks, Baolu On 03/06/2015 04:12 PM, Lu Baolu wrote: Linux xHCI driver doesn't report and handle port cofig error change. If Port Configure Error for root hub port occurs, CEC bit in PORTSC would be set by xHC and remains 1. This happends

[PATCH 0/1] chipidea fix for v4.0-rc3

2015-03-08 Thread Peter Chen
Hi Greg, This patch fixes the problem that the OTG B device can't be enumerated on non-HNP port at OTG A device. Li Jun (1): usb: chipidea: otg: add a_alt_hnp_support response for B device drivers/usb/chipidea/udc.c | 11 +++ 1 file changed, 11 insertions(+) -- 1.9.1 -- To

[PATCH 1/1] usb: chipidea: otg: add a_alt_hnp_support response for B device

2015-03-08 Thread Peter Chen
From: Li Jun b47...@freescale.com This patch adds response to a_alt_hnp_support set feature request from legacy A device, that is, B-device can provide a message to the user indicating that the user needs to connect the B-device to an alternate port on the A-device. A device sets this feature

[PATCH 5/7] usb: chipidea: otg_fsm: add HNP polling support

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Add a dedicataed normal timer for HNP polling since it's cyclical, while in peripheral mode, change a/b_bus_req to be 1 will make it response to host request flag with 1, then role switch will be started. Signed-off-by: Li Jun jun...@freescale.com ---

[PATCH 4/7] usb: chipidea: udc: add OTG status request handling

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Peripheral answers OTG status selector request from host according to host_request_flag of gadget, length is 1. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/chipidea/udc.c | 28 +++- 1 file changed, 23 insertions(+), 5

[PATCH 0/7] add HNP polling support for chipidea usb otg fsm driver

2015-03-08 Thread Li Jun
HNP polling is a mechanism which allows the OTG device currently acting as host to determine when the other attached OTG device wishes to take the host role. When an OTG host, which supports HNP, is connected to an OTG peripheral which also supports HNP it shall poll the peripheral regularly to

[PATCH 7/7] Documentation: usb: chipidea: Update test procedure for HNP polling

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Update HNP test procedure as HNP polling is supported. Signed-off-by: Li Jun jun...@freescale.com --- Documentation/usb/chipidea.txt |9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Documentation/usb/chipidea.txt

[PATCH 1/7] usb: gadget: add host_requestf_flag in usb_gadget for OTG HNP

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Adds host_request_flag for gadget to store host request information from application, which can be used to response to HNP polling from host. Signed-off-by: Li Jun jun...@freescale.com --- include/linux/usb/gadget.h |1 + 1 file changed, 1 insertion(+)

[PATCH 2/7] usb: common: otg-fsm: start HNP polling timer in host state

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Adds OTG HNP polling timer when otg fsm moves to host state. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/common/usb-otg-fsm.c |2 ++ include/linux/usb/otg-fsm.h |1 + 2 files changed, 3 insertions(+) diff --git

[PATCH 3/7] usb: common: otg-fsm: add HNP polling implememtation

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com OTG in host mode call this function to poll peripheral if it wants to be host role. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/common/usb-otg-fsm.c | 75 ++ include/linux/usb/otg-fsm.h | 10 + 2

[PATCH 6/7] usb: common: otg-fsm: clear host_request_flag when leaves peripheral state

2015-03-08 Thread Li Jun
From: Li Jun b47...@freescale.com Cleare the flag after try to do role switch, no matter the role switch succeeds or not. Signed-off-by: Li Jun jun...@freescale.com --- drivers/usb/common/usb-otg-fsm.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/usb/common/usb-otg-fsm.c

Re: [PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-08 Thread Dave Young
On 03/08/15 at 11:29am, Alan Stern wrote: On Sun, 8 Mar 2015, Dave Young wrote: I used usb cdrom emulation to play video dvd for my daughter, but I got below error: [dave@darkstar tmp]$ cat /mnt/sr1/VIDEO_TS/VTS_01_5.VOB /dev/null cat: /mnt/sr1/VIDEO_TS/VTS_01_5.VOB: Input/output

[GIT PULL] USB driver fixes for 4.0-rc3

2015-03-08 Thread Greg KH
The following changes since commit c517d838eb7d07bbe9507871fab3931deccff539: Linux 4.0-rc1 (2015-02-22 18:21:14 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.0-rc3 for you to fetch changes up to

Re: [PATCH 0/1] chipidea fix for v4.0-rc3

2015-03-08 Thread Greg KH
On Sun, Mar 08, 2015 at 04:05:00PM +0800, Peter Chen wrote: Hi Greg, This patch fixes the problem that the OTG B device can't be enumerated on non-HNP port at OTG A device. Li Jun (1): usb: chipidea: otg: add a_alt_hnp_support response for B device drivers/usb/chipidea/udc.c | 11

Re: [PATCH 1/1] usb: xhci: handle Config Error Change (CEC) in xhci driver

2015-03-08 Thread Alan Stern
On Sun, 8 Mar 2015, Lu, Baolu wrote: Hi Alan, Do you have any comments for this patch? No comments. Alan Stern -- 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

Re: [PATCH] usb gadget: remove size limitation for storage cdrom

2015-03-08 Thread Alan Stern
On Sun, 8 Mar 2015, Dave Young wrote: I used usb cdrom emulation to play video dvd for my daughter, but I got below error: [dave@darkstar tmp]$ cat /mnt/sr1/VIDEO_TS/VTS_01_5.VOB /dev/null cat: /mnt/sr1/VIDEO_TS/VTS_01_5.VOB: Input/output error [dave@darkstar tmp]$ dmesg|tail -1 [

[PATCH] Fixed a typo

2015-03-08 Thread Mickael Maison
Fixed a typo in drivers/usb/phy/phy-ab8500-usb.c Signed-off-by: Mickael Maison mickael.mai...@gmail.com --- drivers/usb/phy/phy-ab8500-usb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/phy-ab8500-usb.c b/drivers/usb/phy/phy-ab8500-usb.c index

[PATCH] Fixed a typo

2015-03-08 Thread Mickael Maison
Fixed a typo in drivers/usb/phy/of.c Signed-off-by: Mickael Maison mickael.mai...@gmail.com --- drivers/usb/phy/of.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/phy/of.c b/drivers/usb/phy/of.c index 7ea0154..66ffa82 100644 --- a/drivers/usb/phy/of.c +++

Re: XHCI, brain-dead scanner, and microframe rounding

2015-03-08 Thread Hans-Peter Jansen
On Dienstag, 24. Februar 2015 17:53:21 Hans-Peter Jansen wrote: On Dienstag, 24. Februar 2015 17:53:25 Mathias Nyman wrote: On 24.02.2015 12:41, Hans-Peter Jansen wrote: Also 3.19-stable is still dangling.. Just sent it to Greg, with stable CC tags. Thanks a lot, will test through