ASoC: rt1011: fix DC calibration offset not applying
authorShuming Fan <shumingf@realtek.com>
Thu, 11 Jul 2019 08:22:14 +0000 (16:22 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 11 Jul 2019 11:15:42 +0000 (12:15 +0100)
commit09297c2f7a5428776369ba3b9904718a358e5559
tree32884c4da36dba80d2be1cda119cf2550ef26b05
parentc152f8491a8d9a4b25afd65a86eb5e55e2a8c380
ASoC: rt1011: fix DC calibration offset not applying

There are two issues to fix:
- DC offset calibration data will be reset after stopping playback.
- DC offset calibration data should be applied in the initial setting.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20190711082214.8142-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1011.c