If an xhci platform has Synopsis device disconnection errata then enable
XHCI_DISCONNECT_QUIRK quirk flag.
Signed-off-by: Sneeker Yeh
---
drivers/usb/host/xhci-plat.c |3 +++
include/linux/usb/xhci_pdriver.h |4
2 files changed, 7 insertions(+)
diff --git a/drivers/usb/host/xhc
This issue is defined by a three-way race at disconnect, between
1) Class driver interrupt endpoint resheduling attempts if the ISR gave an ep
error event due to device detach (it would try 3 times)
2) Disconnect interrupt on PORTSC_CSC, which is cleared by hub thread
asynchronously
3) The ha
Synopsis Designware USB3 IP earlier than v3.00a which is configured in silicon
with DWC_USB3_SUSPEND_ON_DISCONNECT_EN=1, would need a specific quirk to prevent
xhci host controller from dying when device is disconnected.
Since DWC_USB3_SUSPEND_ON_DISCONNECT_EN is an IP configuration whose state
ca
This patch adds support for Synopsis DesignWare USB3 IP Core found
on Fujitsu Socs.
Signed-off-by: Sneeker Yeh
---
.../devicetree/bindings/usb/fujitsu-dwc3.txt | 33
drivers/usb/dwc3/Kconfig | 10 +
drivers/usb/dwc3/Makefile |
Add the contstant for v2.90a and v3.00a dwc3 IP detection
Signed-off-by: Sneeker Yeh
---
drivers/usb/dwc3/core.h |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h
index d201910..0b3bb0f 100644
--- a/drivers/usb/dwc3/core.h
+++ b/drivers/us
These patches add support for XHCI compliant Host controller found
on Fujitsu Socs, and are based on http://lwn.net/Articles/629162/
The first patch is to add Fujitsu glue layer of Synopsis DesignWare USB3 driver
and last four patch is about quirk implementation of errata in Synopsis
DesignWare USB
Hi, Balbi
On 02/22/2015 12:21 AM, Felipe Balbi wrote:
Hi,
On Sat, Feb 21, 2015 at 11:03:05PM +0800, zhangfei wrote:
+static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on)
+{
+ struct usb_otg *otg = priv->phy.otg;
+
+ if (!otg->gadget)
+ return;
+
+
As Al Viro said:
we are getting well-meaning folks who try to check that return value,
again and again, getting it wrong every time. Typical idiocies:
* return some kind of error out of ->show() on overflows. Pointless
*and* wrong - only hard errors (== fail read(2) with that) should be
The seq_printf return value, because it's frequently misused,
will eventually be converted to void.
See: commit 1f33c41c03da ("seq_file: Rename seq_overflow() to
seq_has_overflowed() and make public")
While there, simplify the error handler logic by returning
immediately and remove the unnec
When a control transfer has a short data stage, the xHCI controller generates
two transfer events: a COMP_SHORT_TX event that specifies the untransferred
amount, and a COMP_SUCCESS event. But when the data stage is not short, only the
COMP_SUCCESS event occurs. Therefore, xhci-hcd must set urb->act
On Sat, Feb 21, 2015 at 09:38:20AM +0100, Milutin Aksic wrote:
> Ok, then what I should try else what can be the problem why host driver
> doesn't bind to the device? Maybe the phone gt-s5570 doesn't have
> any hardware (but I doubt it is the truth) or something else.
I have no idea what hardware
Hi,
On Sat, Feb 21, 2015 at 11:03:05PM +0800, zhangfei wrote:
> +static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on)
> +{
> + struct usb_otg *otg = priv->phy.otg;
> +
> + if (!otg->gadget)
> + return;
> +
> + if (on)
> + usb_ga
On Sat, Feb 21, 2015 at 4:34 PM, Alan Stern wrote:
> On Sat, 21 Feb 2015, Aleksander Morgado wrote:
>
>> Probably didn't explain well, sorry, likely mixing terms. What I mean
>> is that when the data length received is equal to the transfer buffer
>> length, we get a single IRQ event saying COMP_S
On Sat, 21 Feb 2015, Aleksander Morgado wrote:
> Probably didn't explain well, sorry, likely mixing terms. What I mean
> is that when the data length received is equal to the transfer buffer
> length, we get a single IRQ event saying COMP_SUCCESS, with an event
> len = 0; the URB length in that ca
Hi, Balbi
On 02/21/2015 12:06 AM, Felipe Balbi wrote:
Hi,
On Fri, Feb 20, 2015 at 11:44:37PM +0800, zhangfei wrote:
Hi, Balbi
On 02/20/2015 10:41 PM, Felipe Balbi wrote:
+static void hi6220_start_peripheral(struct hi6220_priv *priv, bool on)
+{
+ struct usb_otg *otg = priv->phy.otg;
+
Hey Alan,
On Sat, Feb 21, 2015 at 3:47 AM, Alan Stern wrote:
> On Sat, 21 Feb 2015, Aleksander Morgado wrote:
>
>> When the control TD doesn't have TRBs in the data stage, the URB actual
>> length
>> is set equal to the transfer buffer length. E.g. with a 64 byte transfer
>> buffer
>> length:
>
On 02/20/2015 11:48 PM, Greg KH wrote:
On Fri, Feb 20, 2015 at 11:37:17PM +0100, Milutin Aksic wrote:
On 02/20/2015 09:22 PM, Greg KH wrote:
On Fri, Feb 20, 2015 at 05:37:37PM +0100, Milutin Aksic wrote:
On 02/20/2015 04:31 PM, Greg KH wrote:
On Fri, Feb 20, 2015 at 11:22:54AM +0100, Mi
17 matches
Mail list logo