From: Dimitris Papastamos Date: Thu, 13 Jan 2011 12:20:36 +0000 (+0000) Subject: ASoC: soc-cache: Add support for default readable()/volatile() functions X-Git-Tag: v2.6.39-rc1~200^2^2~193 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=066d16c3e8194677a9aaeb06a45e4014387d16f1;p=pandora-kernel.git ASoC: soc-cache: Add support for default readable()/volatile() functions For common scenarios, device drivers can provide a table of all the registers that are at least either readable/writable/volatile. The idea is that if a register lookup fails, all of its read/write/vol members will be zero and will be treated as default. This also reduces the size of the register access array. Signed-off-by: Dimitris Papastamos Acked-by: Liam Girdwood Signed-off-by: Mark Brown --- Reading git-diff-tree failed