commit | aea170a099793abcd0e6de46b947458073204241 | [log] [tgz] |
---|---|---|
author | Dimitris Papastamos <dp@opensource.wolfsonmicro.com> | Wed Jan 12 10:38:58 2011 +0000 |
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | Wed Jan 12 14:55:23 2011 +0000 |
tree | 187a6851f204b1dd0c98ccce0545248a25c90f24 | |
parent | d779fce5d79525d66269c8f6e430e1515d697f3d [diff] |
ASoC: soc-cache: Add reg_size as a member to snd_soc_codec Simplify the use of reg_size, by calculating it once and storing it in the codec structure for later reference. The value of reg_size is reg_cache_size * reg_word_size. Signed-off-by: Dimitris Papastamos <dp@opensource.wolfsonmicro.com> Acked-by: Liam Girdwood <lrg@slimlogic.co.uk> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>