diff options
| author | Shreeya Patel <[email protected]> | 2022-08-30 15:06:07 +0530 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-08-30 11:21:34 +0100 |
| commit | 9477420efc41f60f06413cefa38f5bfd71ba64d8 (patch) | |
| tree | 36dddb2138c8cbd758291138d19a35e61f57021c /tools/perf/scripts/python | |
| parent | f4d381038700361f92d157288b0e18d87fab6c6d (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions