diff options
| author | Emil Renner Berthing <kernel@esmil.dk> | 2018-10-31 11:57:01 +0100 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2018-11-05 11:42:02 +0000 |
| commit | fab3e4871f623c8f86e8a0e00749f1480ffa08db (patch) | |
| tree | 90364e85647616caf6d11228f810587475b65c55 /tools/perf/scripts/python/bin | |
| parent | spi: rockchip: always use SPI mode (diff) | |
| download | linux-fab3e4871f623c8f86e8a0e00749f1480ffa08db.tar.gz linux-fab3e4871f623c8f86e8a0e00749f1480ffa08db.zip | |
spi: rockchip: use atomic_t state
The state field is currently only used to make sure
only the last of the tx and rx dma callbacks issue
an spi_finalize_current_transfer.
Rather than using a spinlock we can get away
with just turning the state field into an atomic_t.
Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
Tested-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
