30 Jun
2009
30 Jun
'09
6:53 p.m.
On Tue, Jun 30, 2009 at 2:59 AM, Mark Brownbroonie@opensource.wolfsonmicro.com wrote:
On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote:
Does your touchscreen driver use this mutex? Or was this mutex needed just for the AC97 driver?
It's in the register accesses so everything accessing the chip registers will use it.
The mutexes are needed. The ac97 bus doesn't have any knowledge about what codec(s) will be wired up to it so it must protect against multiple access. In my case both the wm9712 audio codec driver and the wm9712 touchscreen driver perform register accesses.
g.
--
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.