From: Timur Tabi Date: Mon, 10 Sep 2007 22:45:50 +0000 (+0200) Subject: [ALSA] Fix CS4270 volume control and optimize I2C operations X-Git-Tag: v2.6.24-rc1~832^2~75 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bfc4e8616679226b1f113a46df491e233c8dc338;p=pandora-kernel.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- Reading git-diff-tree failed