[alsa-devel] On HD codec valid command working only on hwdep hda-verb and embedded on function snd_hda_multi_out_analog_open
Takashi Iwai
tiwai at suse.de
Sun Jun 8 11:59:46 CEST 2014
At Sat, 07 Jun 2014 13:10:20 +0300,
asd wrote:
>
> Hi
>
> On patch_realtek can't run snd_hda_write.Only situations when run
> snd_hda_write is to run inside off snd_hda_multi_out_analog_open function
> (suppose to when sream is on codec is weak up and become online.
Sorry, I don't understand at all what you wrote.
Could you elaborate?
Takashi
> Index: hda/hda_codec.c
> ===================================================================
> --- hda.orig/hda_codec.c 2014-06-07 12:38:24.000000000 +0300
> +++ hda/hda_codec.c 2014-06-07 12:51:16.173510291 +0300
> @@ -5420,6 +5420,8 @@
> }
> mutex_unlock(&codec->spdif_mutex);
> }
> + snd_hda_codec_write(codec, 0x14, 0,
> + AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0);
> return snd_pcm_hw_constraint_step(substream->runtime, 0,
> SNDRV_PCM_HW_PARAM_CHANNELS, 2);
> }
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
More information about the Alsa-devel
mailing list