spi: amd: Fix SPI_SPD7 value
authorVitaly Rodionov <vitalyr@opensource.cirrus.com>
Fri, 4 Nov 2022 10:06:37 +0000 (10:06 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 4 Nov 2022 12:25:03 +0000 (12:25 +0000)
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>
drivers/spi/spi-amd.c

index e231214..bfc3ab5 100644 (file)
@@ -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