mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-12-27 12:21:22 -05:00
sh: ecovec24: Make SPI mode explicit
Commit cf9e4784f3 ("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>
This commit is contained in:
committed by
John Paul Adrian Glaubitz
parent
9cc646950e
commit
ab0a168fcd
@@ -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[] = {
|
||||
|
||||
Reference in New Issue
Block a user