Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 526c1c23 authored by Magnus Damm's avatar Magnus Damm Committed by Paul Mundt
Browse files

sh: fix USBF resource for sh7722



The USBF function on sh7722 is currently not working with the m66592_udc
driver. The driver is using platform_get_resource_byname() so my commit
a0d29798 broke sh7722 support.

The long term fix is to replace platform_get_resource_byname() in the
driver with platform_get_resource(), but this helps until that happens.

Signed-off-by: default avatarMagnus Damm <damm@igel.co.jp>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 78b58e54
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -16,7 +16,7 @@

static struct resource usbf_resources[] = {
	[0] = {
		.name	= "USBF",
		.name	= "m66592_udc",
		.start	= 0x04480000,
		.end	= 0x044800FF,
		.flags	= IORESOURCE_MEM,