Skip to contentSkip to conversation

Au1xx0: OHCI region size off-by-one

PATCH New Sergei Shtylylov 1 participant 1 message Mar 20, 2006 MIPS

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Au1xx0: OHCI region size off-by-one

Hello Manish.

Au1xx0 OHCI driver claims one byte too many for the memory mapped
controller registers.

WBR, Sergei

arch/mips/au1000/common/platform.c +1 -1
index d7a8f0a..79407ab 100644
@@ -20,7 +20,7 @@
 static struct resource au1xxx_usb_ohci_resources[] = {
 	[0] = {
 		.start		= USB_OHCI_BASE,
-		.end		= USB_OHCI_BASE + USB_OHCI_LEN,
+		.end		= USB_OHCI_BASE + USB_OHCI_LEN - 1,
 		.flags		= IORESOURCE_MEM,
 	},
 	[1] = {