aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2015-11-16 13:57:37 +0000
committerMark Brown <broonie@kernel.org>2015-12-16 12:09:35 +0000
commit56ea1075e7f07724cf9b91039aa0968a0c70112f (patch)
treee294e23459ac7119c774cb8350f3734036819f3b /tools/perf/scripts/python
parent8005c49d9aea74d382f474ce11afbbc7d7130bec (diff)
spi: spidev: Hold spi_lock over all defererences of spi in release()
We use the spi_lock spinlock to protect against races between the device being removed and file operations on the spidev. This means that in the removal path all references to the device need to be done under lock as in removal we dropping references to the device. Reported-by: Vegard Nossum <vegard.nossum@oracle.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions