From: Takashi Iwai Subject: Re: On HD codec valid command working only on hwdep hda-verb and embedded on function snd_hda_multi_out_analog_open Date: Sun, 08 Jun 2014 11:59:46 +0200 Message-ID: References: <2900340.PkFpOr51gc@marian1000.go.ro> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx2.suse.de (cantor2.suse.de [195.135.220.15]) by alsa0.perex.cz (Postfix) with ESMTP id DFFE4265567 for ; Sun, 8 Jun 2014 11:59:46 +0200 (CEST) In-Reply-To: <2900340.PkFpOr51gc@marian1000.go.ro> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: alsa-devel-bounces@alsa-project.org To: asd Cc: Alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org 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@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel