diff options
author | 2021-06-23 18:23:00 +0100 | |
---|---|---|
committer | 2021-06-24 19:29:57 +0100 | |
commit | b01d550663fa5fd40a1785b0f1211fb657892edf (patch) | |
tree | 77d0269e361d2d9ef505ed45bcca93ff72405d90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge series "Support ROCKCHIP SPI new feature" from Jon Lin <jon.lin@rock-chips.com>: (diff) | |
download | linux-dev-b01d550663fa5fd40a1785b0f1211fb657892edf.tar.xz linux-dev-b01d550663fa5fd40a1785b0f1211fb657892edf.zip |
spi: Fix self assignment issue with ancillary->mode
There is an assignment of ancillary->mode to itself which looks
dubious since the proceeding comment states that the speed and
mode is taken over from the SPI main device, indicating that
ancillary->mode should assigned using the value spi->mode.
Fix this.
Addresses-Coverity: ("Self assignment")
Fixes: 0c79378c0199 ("spi: add ancillary device support")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20210623172300.161484-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions