Skip to content

Commit

Permalink
spi: amd: Fix SPI_SPD7 value
Browse files Browse the repository at this point in the history
According to data sheet SPI_SPD7 should be set to 7.

Signed-off-by: Vitaly Rodionov <vitalyr@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20221104100637.13376-1-vitalyr@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
  • Loading branch information
Vitaly Rodionov authored and Mark Brown committed Nov 4, 2022
1 parent 62aa1a3 commit bff6bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/spi/spi-amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ enum amd_spi_speed {
F_16_66MHz,
F_100MHz,
F_800KHz,
SPI_SPD7,
SPI_SPD7 = 0x7,
F_50MHz = 0x4,
F_4MHz = 0x32,
F_3_17MHz = 0x3F
Expand Down

0 comments on commit bff6bef

Please sign in to comment.