commit | 57e41f3fb32a359753a3b2679c2502b2750bf6af | [log] [tgz] |
---|---|---|
author | John Keeping <john@metanate.com> | Mon May 09 12:24:30 2016 +0100 |
committer | Mark Brown <broonie@kernel.org> | Tue May 10 18:56:01 2016 +0100 |
tree | 97a44660539d2f62589856e9cd3232de4cdd0856 | |
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 <john@metanate.com> Signed-off-by: Mark Brown <broonie@kernel.org>