From: Takashi Iwai Subject: Re: [PATCH 3/3] ALSA: hda - Disable DigEn bit before stream-id change Date: Mon, 13 Aug 2012 09:51:33 +0200 Message-ID: References: <1344838271-3528-1-git-send-email-xingchao.wang@intel.com> <1344838271-3528-3-git-send-email-xingchao.wang@intel.com> <46B810F6945F7C4788E11DCE57EC48900FF44217@SHSMSX102.ccr.corp.intel.com> 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 E819726528C for ; Mon, 13 Aug 2012 09:21:47 +0200 (CEST) In-Reply-To: <46B810F6945F7C4788E11DCE57EC48900FF44217@SHSMSX102.ccr.corp.intel.com> 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: "Wang, Xingchao" Cc: "alsa-devel@alsa-project.org" List-Id: alsa-devel@alsa-project.org At Mon, 13 Aug 2012 07:37:12 +0000, Wang, Xingchao wrote: > > > > > -----Original Message----- > > From: Takashi Iwai [mailto:tiwai@suse.de] > > Sent: Monday, August 13, 2012 3:32 PM > > To: Wang, Xingchao > > Cc: alsa-devel@alsa-project.org > > Subject: Re: [PATCH 3/3] ALSA: hda - Disable DigEn bit before stream-id change > > > > At Mon, 13 Aug 2012 14:11:11 +0800, > > Wang Xingchao wrote: > > > > > > Follow the protection way in nvhdmi_8ch_7x_pcm_prepare(). > > > > Could you clarify why this is needed? > > > I don't mean an objection, but just need to know if there is any other devices > > that need this fix. If there really is, better to put a bit more details in > > changelog or comment. > > No, it's not really a fix for the issue. > I just found the change when to investigate HDMI HBR issue and it does NOT help fix the issue. > However I thought it's a fix to some other bug(seen from comments), so I think it's also needed as > a common solution. Please correct me if I am wrong. I guess this was copied from setup_dig_out_stream() in hda_codec.c. This was a workaround for SPDIF output on some old non-HDMI codecs. But most of recent codecs shouldn't need it. You see that it's protected by codec->spdif_status_reset check. Takashi