diff options
author | Timur Tabi <timur@freescale.com> | 2007-09-11 00:45:50 +0200 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2007-10-16 16:49:30 +0200 |
commit | bfc4e8616679226b1f113a46df491e233c8dc338 (patch) | |
tree | 83bc8f06e320d4f003f30bf9223a7869b7048976 /crypto/api.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 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions