[Armadeus-commitlog] SF.net SVN: armadeus:[973] trunk/target/linux/modules/isp1761/host/pehci.c
Brought to you by:
sszy
|
From: <jo...@us...> - 2008-12-27 22:24:59
|
Revision: 973
http://armadeus.svn.sourceforge.net/armadeus/?rev=973&view=rev
Author: jorasse
Date: 2008-12-27 22:24:37 +0000 (Sat, 27 Dec 2008)
Log Message:
-----------
[linux] preliminary workaround to fix ISP1760/FTDI oops
Modified Paths:
--------------
trunk/target/linux/modules/isp1761/host/pehci.c
Modified: trunk/target/linux/modules/isp1761/host/pehci.c
===================================================================
--- trunk/target/linux/modules/isp1761/host/pehci.c 2008-12-26 00:22:21 UTC (rev 972)
+++ trunk/target/linux/modules/isp1761/host/pehci.c 2008-12-27 22:24:37 UTC (rev 973)
@@ -2692,6 +2692,10 @@
switch (usb_pipetype (urb->pipe)) {
case PIPE_CONTROL:
case PIPE_BULK:
+ if (!urb->hcpriv){
+ break;
+ }
+
qh = urb_priv->qh;
@@ -2772,6 +2776,10 @@
break;
case PIPE_INTERRUPT:
pehci_check("phci_1761_urb_dequeue: INTR needs to be done\n");
+ if (!urb->hcpriv){
+ break;
+ }
+
qh = urb_priv->qh;
td_ptd_buf = &td_ptd_map_buff[TD_PTD_BUFF_TYPE_INTL];
td_ptd_map = &td_ptd_buf->map_list[qh->qtd_ptd_index];
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|