diff options
author | Shreeya Patel <shreeya.patel@collabora.com> | 2022-08-30 15:06:07 +0530 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-08-30 11:21:34 +0100 |
commit | 9477420efc41f60f06413cefa38f5bfd71ba64d8 (patch) | |
tree | 36dddb2138c8cbd758291138d19a35e61f57021c /Documentation/devicetree/bindings/spi/spi-rockchip.yaml | |
parent | spi: renesas,sh-msiof: Fix 'unevaluatedProperties' warnings (diff) | |
download | linux-dev-9477420efc41f60f06413cefa38f5bfd71ba64d8.tar.xz linux-dev-9477420efc41f60f06413cefa38f5bfd71ba64d8.zip |
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 3fe26121dc3a
("spi: amd: Configure device speed") which checks speed_hz instead
of amd_spi->speed_hz.
Fixes: 3fe26121dc3a ("spi: amd: Configure device speed")
Signed-off-by: Shreeya Patel <shreeya.patel@collabora.com>
Link: https://lore.kernel.org/r/20220830093607.45484-1-shreeya.patel@collabora.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/devicetree/bindings/spi/spi-rockchip.yaml')
0 files changed, 0 insertions, 0 deletions