John Hsu 70424d8e6e
ASoC: nau8825: improve semaphore control
After reviewing the crosstalk protection, there are two flaws at
semaphore control. The first one is that the semaphore releases are
not enough; and the other is that down_interruptible has an risk to
make the ISR sleep.
Therefore, the driver add more releases before the funcitons return.
Take down_trylock to replace down_interruptible. The ISR can control
the protection as well and never sleep by semaphore.

Signed-off-by: John Hsu <KCHSU0@nuvoton.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
2017-12-04 18:14:42 +00:00
..
2017-09-04 18:24:56 +01:00
2017-09-04 14:50:49 +02:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00
2017-11-23 10:17:59 +01:00
2017-11-13 15:45:57 +01:00
2017-07-09 18:48:37 -07:00
2015-08-31 16:25:22 +02:00
2017-11-13 15:45:57 +01:00
2017-11-13 15:45:57 +01:00