Re: [PATCH 1/3] [SCSI] Fix abort state memory problem

2014-03-30 Thread Hannes Reinecke
On 03/28/2014 06:49 PM, James Bottomley wrote: > The abort state is being stored persistently across commands, meaning if the > command times out a second time, the error handler thinks an abort is still > pending. Fix this by properly resetting the abort flag after the abort is > finished. > > S

USB 3.0 Isochronous audio

2014-03-30 Thread Russel Hughes
Hi, Does anyone know when isochronous audio will be implemented for USB 3.0 in Linux? I have asked Intel who make the NUC device I use and they are not interested and on Ubuntu forums got no reply. I have an Audiolab MDAC which cannot be used with USB 3.0 because of this, I have to route the a

RE: chipidea: udc: ep_free_request & memleak

2014-03-30 Thread Peter Chen
> > I'm currently checking chipidea udc on our platform and I can see some > "freeing queued request" message (some bad behaviour from android adb > gadget driver). > > After this message we exit without freeing anything : > > static void ep_free_request(struct usb_ep *ep, struct usb_request *

move ZTE CDMA device pid from zte_ev.c back to option.c

2014-03-30 Thread 刘磊
dear linuxfoundation:     I'm sorry, was not set format to text in before mails.  Now resend it.      modify reason: 1. Move device pid fffe from zte_ev.c back to option.c for our company. 2. Modify the parameter from 0x0003 to 0x. the problem may cause the device can not be close.  these two

Re: problem with resume after s2ram

2014-03-30 Thread Alan Stern
On Mon, 31 Mar 2014, Peter Münster wrote: > > One more thing... The bad commit should have no effect on devices > > enabled for wakeup -- and keyboards generally _are_ enabled for wakeup. > > Can you check this? Under 3.12.x with no patches or reversions, > > I've just added your diagnostic p

Re: problem with resume after s2ram

2014-03-30 Thread Peter Münster
On Fri, Mar 28 2014, Alan Stern wrote: > This just raises more questions. It looks like it worked almost okay, > but not quite. Certainly it didn't hang, so it isn't an exact > reproduction of the problem. Can you run the same test again, and then > at the end, do: > > echo 1 >/sys/bus/us

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Sergei Shtylyov
On 03/06/2014 09:01 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. Signed-off-by: Ben Dooks --- Updates since v1: - moved documentation into patch - moved to using bus-range parsing - ensured usb phy can be linked to usb devi

USB 3.0 Isochronous audio

2014-03-30 Thread Russel Hughes
Hi, Does anyone know when isochronous audio will be implemented for USB 3.0 in Linux? I have asked Intel who make the NUC device I use and they are not interested and on Ubuntu forums got no reply. I have an Audiolab MDAC which cannot be used with USB 3.0 because of this, I have to route the a

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Sergei Shtylyov
On 03/30/2014 11:40 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/host/pci

Re: [PATCH 8/9] ARM: shmobile: lager.dts: add usbphy reference

2014-03-30 Thread Ben Dooks
On 30/03/14 20:28, Sergei Shtylyov wrote: Hello. On 03/06/2014 09:01 PM, Ben Dooks wrote: Enable the usbphy node so that the phy driver is available. Signed-off-by: Ben Dooks Reviewed-by: Ian Molton --- Cc: linux...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: Magnus Damm Cc: Simon

Re: [PATCH 9/9] ARM: shmobile: lager.dts: link usb-phy to pci nodes

2014-03-30 Thread Ben Dooks
On 30/03/14 20:29, Sergei Shtylyov wrote: Hello. On 03/06/2014 09:01 PM, Ben Dooks wrote: Add the necessary links to add the USB phy nodes to the PCI devices that are behind the bridges specified. Signed-off-by: Ben Dooks --- arch/arm/boot/dts/r8a7790-lager.dts | 37 +

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Ben Dooks
On 30/03/14 20:26, Sergei Shtylyov wrote: Hello. On 03/30/2014 11:21 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/

Re: [PATCH 9/9] ARM: shmobile: lager.dts: link usb-phy to pci nodes

2014-03-30 Thread Sergei Shtylyov
Hello. On 03/06/2014 09:01 PM, Ben Dooks wrote: Add the necessary links to add the USB phy nodes to the PCI devices that are behind the bridges specified. Signed-off-by: Ben Dooks --- arch/arm/boot/dts/r8a7790-lager.dts | 37 + 1 file changed, 37 inser

Re: [PATCH 8/9] ARM: shmobile: lager.dts: add usbphy reference

2014-03-30 Thread Sergei Shtylyov
Hello. On 03/06/2014 09:01 PM, Ben Dooks wrote: Enable the usbphy node so that the phy driver is available. Signed-off-by: Ben Dooks Reviewed-by: Ian Molton --- Cc: linux...@vger.kernel.org Cc: devicet...@vger.kernel.org Cc: Magnus Damm Cc: Simon Horman --- arch/arm/boot/dts/r8a7790-la

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Sergei Shtylyov
Hello. On 03/30/2014 11:21 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Ben Dooks
On 30/03/14 20:10, Sergei Shtylyov wrote: Hello. On 03/06/2014 09:21 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/p

Re: [PATCH 1/9] pci-rcar-gen2: add devicetree support

2014-03-30 Thread Sergei Shtylyov
Hello. On 03/06/2014 09:21 PM, Ben Dooks wrote: Add OF match table for pci-rcar-gen2 driver for device tree support. [...] diff --git a/drivers/pci/host/pci-rcar-gen2.c b/drivers/pci/host/pci-rcar-gen2.c index fd3e3ab..1216784 100644 --- a/drivers/pci/host/pci-rcar-gen2.c +++ b/drivers/pci/h

Re: [PATCH] USB:pl2303: add ids for Hewlett-Packard HP POS pole displays

2014-03-30 Thread Frank Schäfer
Am 28.03.2014 19:29, schrieb Sanders, Aaron: > Add device ids to pl2303 for the Hewlett-Packard HP POS pole displays: > LD960: 03f0:0B39 > LCM220: 03f0:3139 > LCM960: 03f0:3239 Which chips do these devices use ? Chip type detection/distinction is one of the weak spots of the pl2303 driver and th

[PATCH v5 11/11] Documentation: usb: add chipidea.txt for how to demo usb OTG HNP and SRP

2014-03-30 Thread Li Jun
From: Li Jun This patch adds a file chipidea.txt for how to demo chipidea usb OTG HNP and SRP functions via sysfs input files, any other possible information should be documented for chipidea usb driver in future can be added into this file. Signed-off-by: Li Jun --- Documentation/usb/chipidea

[PATCH v5 05/11] usb: chipidea: add OTG fsm operation functions implemenation.

2014-03-30 Thread Li Jun
Add OTG HNP and SRP operation functions implementation: - charge vbus - drive vbus - connection signaling - drive sof - start data pulse - add fsm timer - delete fsm timer - start host - start gadget Signed-off-by: Li Jun --- drivers/usb/chipidea/bits.h|9 ++ drivers/usb/chipidea/ci.h

[PATCH v5 07/11] usb: chipidea: OTG HNP and SRP fsm implementation.

2014-03-30 Thread Li Jun
From: Li Jun USB OTG interrupt handling and fsm transitions according to USB OTG and EH 2.0. Signed-off-by: Li Jun --- drivers/usb/chipidea/core.c|8 +- drivers/usb/chipidea/otg.c |9 +- drivers/usb/chipidea/otg_fsm.c | 236 drivers/usb

[PATCH v5 00/11] Add USB OTG HNP and SRP support on Chipidea usb driver

2014-03-30 Thread Li Jun
From: Li Jun This patchset adds USB OTG HNP and SRP support on chipidea usb driver, existing OTG port role swtich function by ID pin status kept unchanged, based on that, if select CONFIG_USB_OTG_FSM, OTG HNP and SRP will be supported. Reference to: "On-The-Go and Embedded Host Supplement to the

[PATCH v5 10/11] Documentation: ABI: usb: sysfs Description for chipidea USB OTG HNP and SRP

2014-03-30 Thread Li Jun
From: Li Jun This patch adds sysfs interface description for chipidea USB OTG HNP and SRP. Signed-off-by: Li Jun --- .../ABI/testing/sysfs-platform-chipidea-usb-otg| 56 1 file changed, 56 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-platform-chipidea-

[PATCH v5 03/11] usb: chipidea: host: init otg port number.

2014-03-30 Thread Li Jun
Init otg_port number of otg capable host to be 1 at host start. Signed-off-by: Li Jun --- drivers/usb/chipidea/host.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index ffb4168..ee1088e 100644 --- a/dr

[PATCH v5 01/11] usb: chipidea: usb OTG fsm initialization.

2014-03-30 Thread Li Jun
This patch adds OTG fsm related initialization when do otg init, add a seperate file for OTG fsm related utilities. Signed-off-by: Li Jun --- drivers/usb/chipidea/Makefile |1 + drivers/usb/chipidea/ci.h | 16 +++ drivers/usb/chipidea/otg.c |3 +- drivers/usb/chipidea

[PATCH v5 02/11] usb: chipidea: host: vbus control change for OTG HNP.

2014-03-30 Thread Li Jun
Leave vbus on/off hanlded by OTG fsm if in OTG mode. Signed-off-by: Li Jun --- drivers/usb/chipidea/host.c | 10 +++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/drivers/usb/chipidea/host.c b/drivers/usb/chipidea/host.c index a8ac6c1..ffb4168 100644 --- a/drivers/usb/ch

[PATCH v5 09/11] usb: chipidea: debug: add debug file for OTG variables

2014-03-30 Thread Li Jun
From: Li Jun This patch adds a debug file for OTG vairables show. Signed-off-by: Li Jun --- drivers/usb/chipidea/debug.c | 84 ++ 1 file changed, 84 insertions(+) diff --git a/drivers/usb/chipidea/debug.c b/drivers/usb/chipidea/debug.c index 5b890c1..

[PATCH v5 08/11] usb: chipidea: add sys inputs for OTG fsm input.

2014-03-30 Thread Li Jun
From: Li Jun This patch adds sys input to control and show OTG fsm inputs by application, user can do host and preipheral role switch by change these inputs. Signed-off-by: Li Jun --- drivers/usb/chipidea/otg.c |1 + drivers/usb/chipidea/otg_fsm.c | 174 +++

[PATCH v5 06/11] usb: chipidea: OTG fsm timers initialization.

2014-03-30 Thread Li Jun
From: Li Jun This patch adds OTG fsm timers initialization, which use controller's 1ms interrupt as timeout counter, also adds some local timers which are not in otg_fsm_timer list. Signed-off-by: Li Jun --- drivers/usb/chipidea/bits.h|1 + drivers/usb/chipidea/otg_fsm.c | 188 +++

[PATCH v5 04/11] usb: chipidea: udc: driver update for OTG HNP.

2014-03-30 Thread Li Jun
Add b_hnp_enable request handling and enable gadget->is_otg Acked-by: Peter Chen Signed-off-by: Li Jun --- drivers/usb/chipidea/udc.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index f58857d..cba7fd6