Merge "asoc: msm_common: Fix pinctrl state during shutdown"

Esse commit está contido em:
qctecmdr
2021-05-16 02:18:46 -07:00
commit de Gerrit - the friendly Code Review server

Ver arquivo

@@ -301,7 +301,7 @@ void msm_common_snd_shutdown(struct snd_pcm_substream *substream)
if (pdata->mi2s_gpio_p[index]) {
atomic_dec(&pdata->mi2s_gpio_ref_cnt[index]);
if (atomic_read(&pdata->mi2s_gpio_ref_cnt[index]) == 0) {
ret = msm_cdc_pinctrl_select_active_state(
ret = msm_cdc_pinctrl_select_sleep_state(
pdata->mi2s_gpio_p[index]);
if (ret)
dev_err(card->dev,