27 Jul
2014
27 Jul
'14
12:36 p.m.
On 23/07/14 22:19, Laurent Pinchart wrote:
The hardware registers are accessed from atomic contexts (the rsnd_soc_dai_trigger function, for instance, is called with the PCM substream spinlock held). They thus can't be protected by a mutex.
Protect regmap register accesses with a spinlock instead of a mutex by setting the fast_io flag.
I reported this ages ago.
I ended up removing regmap entirely, it just locks the machine solid and provides no useful functionality for the driver.
--
Ben Dooks http://www.codethink.co.uk/
Senior Engineer Codethink - Providing Genius