diff options
author | 2021-05-08 14:02:14 +0800 | |
---|---|---|
committer | 2021-05-10 13:00:28 +0100 | |
commit | dc5fa590273890a8541ce6e999d606bfb2d73797 (patch) | |
tree | 8cfe049a27dba5dd046e314a1047644eeead04fa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | spi: spi-fsl-dspi: Fix a resource leak in an error handling path (diff) | |
download | wireguard-linux-dc5fa590273890a8541ce6e999d606bfb2d73797.tar.xz wireguard-linux-dc5fa590273890a8541ce6e999d606bfb2d73797.zip |
spi: take the SPI IO-mutex in the spi_set_cs_timing method
this patch takes the io_mutex to prevent an unprotected HW
register modification in the set_cs_timing callback.
Fixes: 4cea6b8cc34e ("spi: add power control when set_cs_timing")
Signed-off-by: Leilk Liu <leilk.liu@mediatek.com>
Link: https://lore.kernel.org/r/20210508060214.1485-1-leilk.liu@mediatek.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