- usb-gadget-update-pxa2xx_udcc-driver-to-fully-support.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled

     usb gadget: update pxa2xx_udc.c driver to fully support IXP4xx platform

has been removed from the -mm tree.  Its filename is

     usb-gadget-update-pxa2xx_udcc-driver-to-fully-support.patch

This patch was probably dropped from -mm because
it has now been merged into a subsystem tree or
into Linus's tree, or because it was folded into
its parent patch in the -mm tree.

------------------------------------------------------
Subject: usb gadget: update pxa2xx_udc.c driver to fully support IXP4xx platform
From: Milan Svoboda <msvoboda@xxxxxxxxxxxxxxx>


This patch adds IXP465 into the list of known devices and adds IXP465 to the
list of devices that have cfr.  This is not described in the hardware
documentation, but without it driver don't work.

Workaround (#if 1) that seemed to get rid of lost status irqs is disabled for
IXP4XX as it caused freezes during testing of control messages.  No lost irqs
are visible on IXP4XX.

Driver survived tests running over night without any visible problems.

Signed-off-by: Milan Svoboda <msvoboda@xxxxxxxxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>
Cc: Russell King <rmk@xxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/usb/gadget/pxa2xx_udc.c |    6 ++++++
 1 files changed, 6 insertions(+)

diff -puN drivers/usb/gadget/pxa2xx_udc.c~usb-gadget-update-pxa2xx_udcc-driver-to-fully-support drivers/usb/gadget/pxa2xx_udc.c
--- 25/drivers/usb/gadget/pxa2xx_udc.c~usb-gadget-update-pxa2xx_udcc-driver-to-fully-support	Thu May 25 11:58:34 2006
+++ 25-akpm/drivers/usb/gadget/pxa2xx_udc.c	Thu May 25 11:58:34 2006
@@ -547,6 +547,7 @@ write_ep0_fifo (struct pxa2xx_ep *ep, st
 		count = req->req.length;
 		done (ep, req, 0);
 		ep0_idle(ep->dev);
+#ifndef CONFIG_ARCH_IXP4XX
 #if 1
 		/* This seems to get rid of lost status irqs in some cases:
 		 * host responds quickly, or next request involves config
@@ -567,6 +568,7 @@ write_ep0_fifo (struct pxa2xx_ep *ep, st
 			} while (count);
 		}
 #endif
+#endif
 	} else if (ep->dev->req_pending)
 		ep0start(ep->dev, 0, "IN");
 	return is_short;
@@ -2429,6 +2431,7 @@ static struct pxa2xx_udc memory = {
 #define PXA210_B1		0x00000123
 #define PXA210_B0		0x00000122
 #define IXP425_A0		0x000001c1
+#define IXP465_AD		0x00000200
 
 /*
  * 	probe - binds to the platform device
@@ -2464,6 +2467,9 @@ static int pxa2xx_udc_probe(struct platf
 	case PXA250_C0: case PXA210_C0:
 		break;
 #elif	defined(CONFIG_ARCH_IXP4XX)
+	case IXP465_AD:
+		dev->has_cfr = 1;
+		/* fall through */
 	case IXP425_A0:
 		out_dma = 0;
 		break;
_

Patches currently in -mm which might be from msvoboda@xxxxxxxxxxxxxxx are

usb-gadget-update-pxa2xx_udcc-and-arch-dependent-files.patch
usb-gadget-update-pxa2xx_udcc-driver-to-fully-support.patch
usb-gadget-dont-build-small-version-if-usbgadgetfs.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux