summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2005-04-11 15:38:25 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-06-27 14:43:41 -0700
commit313980c92724cf42877a7bdafdef439ee9d68ccb (patch)
treee97b170530d30013eb16f2f5a6b1d79e0ca98f4f /arch
parentd794ac7ae3613c2abfb678617ac7d74c8ff0099c (diff)
downloadop-kernel-dev-313980c92724cf42877a7bdafdef439ee9d68ccb.zip
op-kernel-dev-313980c92724cf42877a7bdafdef439ee9d68ccb.tar.gz
[PATCH] USB: omap_udc updates (mostly cleanups)
Various USB patches, mostly for portability: - Fifo mode 1 didn't work previously (oopsed), so now it's fixed and (why not) defines even more endpoints for composite devices. - OMAP 1710 doesn't have an internal transceiver. - Small PM update: if the USB link is suspended, don't disconnect on entry to deep sleep. - Be more correct about handling zero length control reads. OMAP seems to mis-handle that protocol peculiarity though; best avoided. - Platform device resources (for UDC and OTG controllers) now use physical addresses, so /proc/iomem is more consistent. - Minor cleanups, notably (by volume) for "sparse" NULL warnings. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap/usb.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/mach-omap/usb.c b/arch/arm/mach-omap/usb.c
index 6e805d4..7f37857 100644
--- a/arch/arm/mach-omap/usb.c
+++ b/arch/arm/mach-omap/usb.c
@@ -288,8 +288,8 @@ static void usb_release(struct device *dev)
static struct resource udc_resources[] = {
/* order is significant! */
{ /* registers */
- .start = IO_ADDRESS(UDC_BASE),
- .end = IO_ADDRESS(UDC_BASE + 0xff),
+ .start = UDC_BASE,
+ .end = UDC_BASE + 0xff,
.flags = IORESOURCE_MEM,
}, { /* general IRQ */
.start = IH2_BASE + 20,
@@ -355,8 +355,8 @@ static struct platform_device ohci_device = {
static struct resource otg_resources[] = {
/* order is significant! */
{
- .start = IO_ADDRESS(OTG_BASE),
- .end = IO_ADDRESS(OTG_BASE + 0xff),
+ .start = OTG_BASE,
+ .end = OTG_BASE + 0xff,
.flags = IORESOURCE_MEM,
}, {
.start = IH2_BASE + 8,
OpenPOWER on IntegriCloud