Fix for Pisound's MIDI Input getting blocked for a while in rare cases.
authorGiedrius <giedrius@blokas.io>
Fri, 16 Mar 2018 16:14:31 +0000 (18:14 +0200)
committerPhil Elwell <pelwell@users.noreply.github.com>
Fri, 16 Mar 2018 16:35:15 +0000 (16:35 +0000)
commitbe97febf4aa42b1d019ad24e7948739da8557f66
tree427ecbfb88f24e814d7a9c24d43753a08ade6918
parenta00afce9b4231c120c8b007d2c48018547d0156f
Fix for Pisound's MIDI Input getting blocked for a while in rare cases.

There was a possible race condition which could lead to Input's FIFO queue
to be underflown, causing high amount of processing in the worker thread for
some period of time.

Signed-off-by: Giedrius Trainavicius <giedrius@blokas.io>
sound/soc/bcm/pisound.c