Re: [PATCH] alsa/soc: add locking to mpc5200-psc-ac97 driver
From: Grant Likely <hidden>
Date: 2009-07-01 00:12:35
Also in:
alsa-devel
From: Grant Likely <hidden>
Date: 2009-07-01 00:12:35
Also in:
alsa-devel
On Tue, Jun 30, 2009 at 2:59 AM, Mark Brown[off-list ref] wrote:
On Mon, Jun 29, 2009 at 08:26:12PM -0400, Jon Smirl wrote:quoted
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.