Your new patch get back the bug.
Then I have decrease the delay in steps of 25.
With delay 100 camera still fails.
With delay 75 camera works sometimes. Some plug in failes, some other works.
With delay 50 camera always work okay!
Am 31.08.2013 20:12, schrieb Alan Stern:
On Sat, 31 Aug 2013, Jürgen Liebmann wrote:
Hi Alan, thank you for your help.
This patch fixed this problem! Now the camera works fine.
Then I download the newest kernel (3.11.0-rc7), this contain the same error.
I checked out this kernel, inserted your patch and the camera works fine!
This place is therefore definitely the cause of my problem.
We're not finished yet. Let's see what happens with an additional
delay added in, same as if the patch wasn't present. Try this patch
instead of the previous one.
Alan Stern
Index: 3.10/drivers/usb/host/ehci-q.c
===================================================================
--- 3.10.orig/drivers/usb/host/ehci-q.c
+++ 3.10/drivers/usb/host/ehci-q.c
@@ -1170,7 +1170,7 @@ static void single_unlink_async(struct e
struct ehci_qh *prev;
/* Add to the end of the list of QHs waiting for the next IAAD */
- qh->qh_state = QH_STATE_UNLINK_WAIT;
+ qh->qh_state = QH_STATE_UNLINK;
if (ehci->async_unlink)
ehci->async_unlink_last->unlink_next = qh;
else
@@ -1186,6 +1186,7 @@ static void single_unlink_async(struct e
prev->qh_next = qh->qh_next;
if (ehci->qh_scan_next == qh)
ehci->qh_scan_next = qh->qh_next.qh;
+ udelay(125);
}
static void start_iaa_cycle(struct ehci_hcd *ehci, bool nested)
--
--------------------------------------------------------------------
Jürgen Liebmann
Erich-Schütze-Weg 6
01796 Pirna
Tel.: 03501-445273
Email: info@xxxxxxxxxxxxx
--------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html