From: Barry Song <21cnbao@gmail.com> Date: Thu, 18 Mar 2010 08:17:01 +0000 (+0800) Subject: ASoC: soc-cache: let reg be AND'ed by 0xff instead of data buffer for 8_8 mode X-Git-Tag: v2.6.35-rc1~478^2^2~98 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4bee1bb0083869b1b7d73c6eda7703a7aae0506;p=pandora-kernel.git ASoC: soc-cache: let reg be AND'ed by 0xff instead of data buffer for 8_8 mode The registers for AD193X are defined as 0x800-0x810 for spi which uses 16_8 mode, for i2c to support AD1937, we will use 8_8 mode, only the low byte of 0x800-0x810 is valid. The patch will not destory other codecs, but make soc cache interface more useful. Signed-off-by: Barry Song Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed