summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorVitaly Rodionov <vitalyr@opensource.cirrus.com>2022-11-04 13:06:37 +0300
committerMark Brown <broonie@kernel.org>2022-11-04 15:25:03 +0300
commitbff6bef701db784bb159a659e99c785b4594fc96 (patch)
tree8a2fdd35b0c5f3dcc8b747d5d668e6cd9d7d3336 /drivers
parent62aa1a344b0904549f6de7af958e8a1136fd5228 (diff)
downloadlinux-bff6bef701db784bb159a659e99c785b4594fc96.tar.xz
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')
-rw-r--r--drivers/spi/spi-amd.c2
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