diff options
author | Axel Lin <axel.lin@ingics.com> | 2015-07-28 13:30:14 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-07-29 14:53:55 +0100 |
commit | 5549ce82e29c6c1a45ad36a871096ae7c53e53b9 (patch) | |
tree | 5e948d9244816f6188626860e1c644ef13798b9f /sound/soc/codecs/isabelle.c | |
parent | 402f2a4f808a5d284de724689751dcd018835579 (diff) |
ASoC: max98095: Get rid of max98095_access table
The max98095_access table is used for look up readable/writable
attributes of registers. The readable/writable/volatile registers are
mostly in continuous ranges, so we can replace the max98095_access table
entirely by using case range.
Below is a summary of the readable/writeable/volatile registers:
readable registers:
0x01 ~ 0x97, 0xFF
writeable registers:
0x0F ~ 0x97
volatile registers:
0x00 ~ 0x0E, 0x98 ~ 0xFF
This patch reworks the implement for .readable and .volatile and also add
implementation for .writable callback.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/isabelle.c')
0 files changed, 0 insertions, 0 deletions