diff options
author | Valentin Vidic <Valentin.Vidic@CARNet.hr> | 2018-04-19 12:25:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-23 15:40:24 +0200 |
commit | 5451dab9b7f5469b1499d09e15493ca54ec0d7da (patch) | |
tree | 1bb1d3a5fd9f4c2c496223d0aeffee8e560e8377 /drivers/eisa/.gitignore | |
parent | 1dab154ef1a44933a07c0968ecd34b194ff260eb (diff) |
staging: pi433: cleanup tx_fifo locking
pi433_write requires locking due to multiple writers. After acquiring
the lock check if enough free space is available in the kfifo to write
the whole message. This check should prevent partial writes to tx_fifo
so kfifo_reset is not needed anymore.
pi433_tx_thread is the only reader so it does not require locking
after kfifo_reset is removed.
Signed-off-by: Valentin Vidic <Valentin.Vidic@CARNet.hr>
Reviewed-by: Marcus Wolf <marcus.wolf@wolf-entwicklungen.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/eisa/.gitignore')
0 files changed, 0 insertions, 0 deletions