sh: modify resource for SPI0 in setup-sh7757
PATCH 1/2 sh: modify resource for SPI0 in setup-sh7757
The new spi-sh driver decodes the IORESOURCE_MEM_TYPE_MASK. So, the resource needs the IORESOURCE_MEM_32BIT.
Signed-off-by Yoshihiro Shimoda <[email protected]>
--- arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/sh/kernel/cpu/sh4a/setup-sh7757.c +1 -1
@@ -133,7 +133,7 @@ static struct resource spi0_resources[] = { [0] = { .start = 0xfe002000, .end = 0xfe0020ff, - .flags = IORESOURCE_MEM, + .flags = IORESOURCE_MEM | IORESOURCE_MEM_32BIT, }, [1] = { .start = 86,
Signature · 1 line
1.7.1
Paul Mundt
AppliedQuoted 2 lines · Yoshihiro
The new spi-sh driver decodes the
IORESOURCE_MEM_TYPE_MASK. So, the resource needs theIORESOURCE_MEM_32BIT.
Quoted 5 lines · Yoshihiro
Signed-off-by Yoshihiro Shimoda <[email protected]>--- arch/sh/kernel/cpu/sh4a/setup-sh7757.c | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-)
Applied, thanks.