From: Daniel Mack Date: Tue, 22 Nov 2011 16:17:23 +0000 (+0100) Subject: ASoC: cs4720: use snd_soc_cache_sync() X-Git-Tag: v3.2-rc5~55^2^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d66b8537b30fbaf79e0f467fa6b7e1a2191cba83;p=pandora-kernel.git ASoC: cs4720: use snd_soc_cache_sync() Replace the manual register restore mechanism in cs4270.c and call the generic snd_soc_cache_sync() handler instead. This factors code out in favour of core facilities and also fixes a bus confusion that is most probably caused by intermixing i2c-regmap functions and i2c_smbus_* accessors. Signed-off-by: Daniel Mack Reported-and-tested-by: Sven Neumann Acked-by: Timur Tabi Signed-off-by: Mark Brown --- Reading git-diff-tree failed