diff options
author | Vitaly Rodionov <vitalyr@opensource.cirrus.com> | 2022-11-04 11:06:37 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-11-04 13:25:03 +0100 |
commit | bff6bef701db784bb159a659e99c785b4594fc96 (patch) | |
tree | 8a2fdd35b0c5f3dcc8b747d5d668e6cd9d7d3336 /drivers/spi | |
parent | spi: stm32: fix stm32_spi_prepare_mbr() that halves spi clk for every run (diff) | |
download | linux-bff6bef701db784bb159a659e99c785b4594fc96.tar.xz linux-bff6bef701db784bb159a659e99c785b4594fc96.zip |
spi: amd: Fix SPI_SPD7 value
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>
Diffstat (limited to 'drivers/spi')
-rw-r--r-- | drivers/spi/spi-amd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-amd.c b/drivers/spi/spi-amd.c index e23121456c70..bfc3ab5f39ea 100644 --- a/drivers/spi/spi-amd.c +++ b/drivers/spi/spi-amd.c @@ -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 |