diff options
author | John Keeping <[email protected]> | 2016-05-09 12:24:30 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2016-05-10 18:56:01 +0100 |
commit | 57e41f3fb32a359753a3b2679c2502b2750bf6af (patch) | |
tree | 97a44660539d2f62589856e9cd3232de4cdd0856 /tools/perf/util/trace-event-scripting.c | |
parent | 420c470d6b5c2924a3182edf5b002870ff770331 (diff) |
ASoC: es8328: Fix ADC format setup
The ADCCONTROL4 and DACCONTROL1 registers are similar but not identical,
with the DACCONTROL1 having each field starting one bit higher than
ADCCONTROL4.
Instead of introducing a magic shift, add new constants for the values
in ADCCONTROL4 and use a second variable to setup the ADC.
Signed-off-by: John Keeping <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions