ASoC: rt1015: re-calibrate again when resuming
authorTzung-Bi Shih <tzungbi@google.com>
Fri, 25 Dec 2020 03:08:45 +0000 (11:08 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 5 Jan 2021 14:34:17 +0000 (14:34 +0000)
commitd750570e048165c54a99703729438b2a4ccf379b
tree917b7543ead13760ebb306c1622149a962b2fe76
parenta1f31cc4e98e1833f53fd2c6e9a218d6b86f5388
ASoC: rt1015: re-calibrate again when resuming

Assuming the calibration state gets lost after system suspend.
Re-calibrates again when resuming.

The rt1015_priv is alloced by kzalloc.  No need to initialize cali_done
to 0 in component probe callback.

Signed-off-by: Tzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20201225030845.4138497-1-tzungbi@google.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1015.c