diff options
| author | Axel Lin <[email protected]> | 2015-07-28 13:30:14 +0800 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2015-07-29 14:53:55 +0100 |
| commit | 5549ce82e29c6c1a45ad36a871096ae7c53e53b9 (patch) | |
| tree | 5e948d9244816f6188626860e1c644ef13798b9f /kernel/bpf/arraymap.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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions