aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/boards/mach-ecovec24/setup.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2025-05-02 13:13:36 +0200
committerJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>2025-06-07 15:16:31 +0200
commitab0a168fcd984c2fc93eb0fb2367881c6aa62eb3 (patch)
treef6c054e507ef8b640c75a46b44552091097d46e4 /arch/sh/boards/mach-ecovec24/setup.c
parentsh: Replace __ASSEMBLY__ with __ASSEMBLER__ in all headers (diff)
downloadlinux-rng-ab0a168fcd984c2fc93eb0fb2367881c6aa62eb3.tar.xz
linux-rng-ab0a168fcd984c2fc93eb0fb2367881c6aa62eb3.zip
sh: ecovec24: Make SPI mode explicit
Commit cf9e4784f3bde3e4 ("spi: sh-msiof: Add slave mode support") added a new mode member to the sh_msiof_spi_info structure, but did not update any board files. Hence all users in board files rely on the default being host mode. Make this unambiguous by configuring host mode explicitly. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Diffstat (limited to '')
-rw-r--r--arch/sh/boards/mach-ecovec24/setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sh/boards/mach-ecovec24/setup.c b/arch/sh/boards/mach-ecovec24/setup.c
index 6f13557eecd6..a641e26f8fdf 100644
--- a/arch/sh/boards/mach-ecovec24/setup.c
+++ b/arch/sh/boards/mach-ecovec24/setup.c
@@ -825,6 +825,7 @@ static struct spi_board_info spi_bus[] = {
/* MSIOF0 */
static struct sh_msiof_spi_info msiof0_data = {
.num_chipselect = 1,
+ .mode = MSIOF_SPI_HOST,
};
static struct resource msiof0_resources[] = {