John Keeping 57e41f3fb3 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>
2016-05-10 18:56:01 +01:00
..
2016-03-22 12:13:53 -07:00
2016-05-10 18:56:01 +01:00
2016-01-20 09:59:27 +01:00
2016-03-22 12:13:53 -07:00
2015-08-31 16:25:22 +02:00