From: Axel Lin Date: Thu, 13 Oct 2011 06:57:31 +0000 (+0800) Subject: ASoC: sta32x: Write the register default value to cache for reserved registers X-Git-Tag: v3.2-rc1~127^2~1^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edf413f689e930011bf39ec726f704af99d7263b;p=pandora-kernel.git ASoC: sta32x: Write the register default value to cache for reserved registers Chip documentation explicitly requires that the reset values of reserved register bits are left untouched. codec->hw_read is broken now. Here we use below trick to avoid writing to reserved registers while resume. Write the register default value to cache for reserved registers, so the write to the these registers are suppressed by the cache restore code when it skips writes of default registers. Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- Reading git-diff-tree failed