[alsa-devel] [PATCH] [ALSA] Fix CS4270 volume control and optimize I2C operations
Takashi Iwai
tiwai at suse.de
Tue Sep 11 00:46:18 CEST 2007
At Mon, 10 Sep 2007 17:19:02 -0500,
Timur Tabi wrote:
>
> The volume control for the CS4270 ASoC driver was inverted - raising the
> volume level with alsamixer would decrease the actual volume.
>
> This patch also improves the performance of the I2C code (used to change
> register settings) by only performing an I2C write if the new value is
> different from the value that's in the register cache.
>
> Signed-off-by: Timur Tabi <timur at freescale.com>
> ---
>
> This patch applies to the 'mm' branch of perex/alsa.git. I would like this
> patch to be part of ALSA 1.0.15.
>
> sound/soc/codecs/cs4270.c | 21 +++++++++++++--------
> 1 files changed, 13 insertions(+), 8 deletions(-)
Thanks, applied now to ALSA tree.
Takashi
More information about the Alsa-devel
mailing list