diff options
author | Timur Tabi <timur@freescale.com> | 2007-09-10 18:45:50 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 10:49:30 -0400 |
commit | bfc4e8616679226b1f113a46df491e233c8dc338 (patch) | |
tree | 83bc8f06e320d4f003f30bf9223a7869b7048976 /sound/pci/pcxhr/pcxhr.c | |
parent | 23d4635ed336c7dadb3590ee7d275ac612f06ebf (diff) |
[ALSA] Fix CS4270 volume control and optimize I2C operations
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@freescale.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
Diffstat (limited to 'sound/pci/pcxhr/pcxhr.c')
0 files changed, 0 insertions, 0 deletions