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-01-13 12:32:04 +00:00
2015-10-26 11:15:54 +09:00
2016-05-10 18:56:01 +01:00
2016-03-18 10:05:46 -07:00
2016-03-18 10:05:46 -07:00
2016-03-12 09:51:17 +07:00
2016-01-11 17:50:15 +01:00
2016-02-22 19:40:06 +09:00