Merge branch 'asoc-5.2' into asoc-5.3
Šī revīzija ir iekļauta:
@@ -1329,6 +1329,15 @@ static int sun4i_codec_spk_event(struct snd_soc_dapm_widget *w,
|
||||
gpiod_set_value_cansleep(scodec->gpio_pa,
|
||||
!!SND_SOC_DAPM_EVENT_ON(event));
|
||||
|
||||
if (SND_SOC_DAPM_EVENT_ON(event)) {
|
||||
/*
|
||||
* Need a delay to wait for DAC to push the data. 700ms seems
|
||||
* to be the best compromise not to feel this delay while
|
||||
* playing a sound.
|
||||
*/
|
||||
msleep(700);
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user