ASoC: rt1015p: delay 300ms after SDB pulling high for calibration
authorTzung-Bi Shih <tzungbi@google.com>
Fri, 11 Dec 2020 05:12:24 +0000 (13:12 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 11 Dec 2020 13:22:18 +0000 (13:22 +0000)
commitf102d0d173982be3fc096d0293c1c0245e988ba6
tree3ac553e00931169cc926a646ecb199aaa19770cc
parent4ab9301710760b99b4229d608eb5599040b2e07e
ASoC: rt1015p: delay 300ms after SDB pulling high for calibration

RT1015p needs 300ms delay after SDB pulling high for internal
calibration during the power on sequence.

Delays 300ms right before data sends out to avoid data truncated.

Assuming the calibration state gets lost after system suspend.

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