summaryrefslogtreecommitdiff
path: root/include/linux/spi
diff options
context:
space:
mode:
authorLeilk Liu <leilk.liu@mediatek.com>2021-05-08 14:02:14 +0800
committerMark Brown <broonie@kernel.org>2021-05-10 13:00:28 +0100
commitdc5fa590273890a8541ce6e999d606bfb2d73797 (patch)
tree8cfe049a27dba5dd046e314a1047644eeead04fa /include/linux/spi
parent680ec0549a055eb464dce6ffb4bfb736ef87236e (diff)
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 'include/linux/spi')
0 files changed, 0 insertions, 0 deletions