commit | 85e7118412fea31464b62d00bcf4a65fa8904dcc | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Tue Jul 28 13:39:01 2015 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Jul 29 14:54:13 2015 +0100 |
tree | 91d37fb53455b95ff54b9206d7a241b111c6408b | |
parent | d770e558e21961ad6cfdf0ff7df0eb5d7d4f0754 [diff] |
ASoC: wm8983: Get rid of wm8983_access_masks table The max8983_access table is used for look up readable/writable attributes of registers. The writable registers are mostly in continuous ranges, so we can replace max8983_access table by using case range. The read fields are all 0, so just drop implement of .readable callback. Also set .max_register setting. Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Mark Brown <broonie@kernel.org>