Skip to content

Commit aacab87

Browse files
committed
spi: amd: Fix SPI_SPD7 value
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2071848 Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2122415 commit bff6bef Author: Vitaly Rodionov <vitalyr@opensource.cirrus.com> Date: Fri, 4 Nov 2022 10:06:37 +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> Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent 339f48d commit aacab87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-amd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ enum amd_spi_speed {
6565
F_16_66MHz,
6666
F_100MHz,
6767
F_800KHz,
68-
SPI_SPD7,
68+
SPI_SPD7 = 0x7,
6969
F_50MHz = 0x4,
7070
F_4MHz = 0x32,
7171
F_3_17MHz = 0x3F

0 commit comments

Comments
 (0)