Skip to contentSkip to conversation

sh: enable the SUDMAC of renesas_usbhs in

PATCH Superseded Shimoda, Yoshihiro 1 participant 1 message Jan 10, 2012 SuperH

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 3/3 sh: enable the SUDMAC of renesas_usbhs in

---
about v2:
- No change

 arch/sh/boards/board-sh7757lcr.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
arch/sh/boards/board-sh7757lcr.c +3 -1
index 0838154..40872e8 100644
@@ -276,6 +276,8 @@ static struct renesas_usbhs_platform_info usb0_data = {
 	},
 	.driver_param = {
 		.buswait_bwait = 5,
+		.d0_tx_id = SHDMA_SLAVE_SUDMAC00,
+		.has_sudmac = 1,
 	}
 };
 
@@ -288,7 +290,7 @@ static struct resource usb0_resources[] = {
 	[1] = {
 		.start	= 50,
 		.end	= 50,
-		.flags	= IORESOURCE_IRQ,
+		.flags	= IORESOURCE_IRQ | IORESOURCE_IRQ_SHAREABLE,
 	},
 };
 
Signature · 1 line
1.7.1