Skip to content

Commit ab0a168

Browse files
geertuglaubitz
authored andcommitted
sh: ecovec24: Make SPI mode explicit
Commit cf9e478 ("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>
1 parent 9cc6469 commit ab0a168

File tree

1 file changed

+1
-0
lines changed
  • arch/sh/boards/mach-ecovec24

1 file changed

+1
-0
lines changed

arch/sh/boards/mach-ecovec24/setup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -825,6 +825,7 @@ static struct spi_board_info spi_bus[] = {
825825
/* MSIOF0 */
826826
static struct sh_msiof_spi_info msiof0_data = {
827827
.num_chipselect = 1,
828+
.mode = MSIOF_SPI_HOST,
828829
};
829830

830831
static struct resource msiof0_resources[] = {

0 commit comments

Comments
 (0)