[Hardy LPIA LUM]: RealTek hda-intel volume remapping for non-linear volume scales
Andy Whitcroft
apw at canonical.com
Wed Apr 22 00:48:12 UTC 2009
On Tue, Apr 21, 2009 at 04:51:21PM +0100, Colin Ian King wrote:
> It's good to know your eye is keen...
>
> The fact is that slave_put_val() requires a master->val to be set for
> the volume to be set correctly (this case a remapped version). However
> master->val can be interrogated later for the master volume setting, and
> we need to return the expected value and not the remapped value else we
> get ALSA confused. Without a major rewrite of slave_put_xval() I cannot
> see around this.
Which lock is protecting master->val for the duration of the update, ie.
while it is holding the bodged value to prevent alsa seeing it?
-apw
More information about the kernel-team
mailing list