Skip to content
Unverified Commit 9477420e authored by Shreeya Patel's avatar Shreeya Patel Committed by Mark Brown
Browse files

spi: amd: Fix speed selection



If the current speed is equal to the requested speed by the device
then return success.
This patch fixes a bug introduced by the commit 3fe26121
("spi: amd: Configure device speed") which checks speed_hz instead
of amd_spi->speed_hz.

Fixes: 3fe26121 ("spi: amd: Configure device speed")
Signed-off-by: default avatarShreeya Patel <shreeya.patel@collabora.com>
Link: https://lore.kernel.org/r/20220830093607.45484-1-shreeya.patel@collabora.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f4d38103
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment