Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Vitaly Rodionov and committed by
Mark Brown
bff6bef7 62aa1a34

+1 -1
+1 -1
drivers/spi/spi-amd.c
··· 65 65 F_16_66MHz, 66 66 F_100MHz, 67 67 F_800KHz, 68 - SPI_SPD7, 68 + SPI_SPD7 = 0x7, 69 69 F_50MHz = 0x4, 70 70 F_4MHz = 0x32, 71 71 F_3_17MHz = 0x3F