The 1st patch moves SDB control from DAI ops trigger to DAPM event (per review comments in v1).
The 2nd patch adds the 300ms delay for waiting calibration.
Changes from v2: - Use gpiod_set_value_cansleep() instead of gpiod_set_value(). (https://patchwork.kernel.org/project/alsa-devel/patch/20201210033617.79300-2...) - Assuming the calibration state gets lost after system suspend. (https://patchwork.kernel.org/project/alsa-devel/patch/20201210033617.79300-3...)
Changes from v1: (https://patchwork.kernel.org/project/alsa-devel/patch/20201209033742.3825973...) - Move the delay from trigger to DAPM event.
Tzung-Bi Shih (2): ASoC: rt1015p: move SDB control from trigger to DAPM ASoC: rt1015p: delay 300ms after SDB pulling high for calibration
sound/soc/codecs/rt1015p.c | 69 ++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 37 deletions(-)