Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751898AbaBGLMc (ORCPT ); Fri, 7 Feb 2014 06:12:32 -0500 Received: from cantor2.suse.de ([195.135.220.15]:35614 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751317AbaBGLMb (ORCPT ); Fri, 7 Feb 2014 06:12:31 -0500 Date: Fri, 07 Feb 2014 12:12:30 +0100 Message-ID: From: Takashi Iwai To: Hsin-Yu Chao Cc: linux-arm-kernel@lists.infradead.org, Jaroslav Kysela , Dylan Reid , Chih-Chung Chang , Xi Wang , Ian Minett , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] ALSA: hda/ca0132 - setup/cleanup streams In-Reply-To: References: <1391744130-15043-1-git-send-email-hychao@chromium.org> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/24.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org At Fri, 07 Feb 2014 11:59:20 +0100, Takashi Iwai wrote: > > At Fri, 7 Feb 2014 11:35:29 +0800, > Hsin-Yu Chao wrote: > > > > When a HDMI stream is opened with the same stream tag > > as a following opened stream to ca0132, audio will be > > heard from two ports simultaneously. > > Fix this issue by change to use snd_hda_codec_setup_stream > > and snd_hda_codec_cleanup_stream instead, so that an > > inactive stream can be marked as 'dirty' when found > > with a conflict stream tag, and then get purified. > > > > Signed-off-by: Hsin-Yu Chao > > Reviewed-by: Chih-Chung Chang > > Thanks, applied this one. Hrm, not good. sound/pci/hda/patch_ca0132.c: In function ‘ca0132_playback_pcm_prepare’: sound/pci/hda/patch_ca0132.c:2675:2: error: implicit declaration of function ‘ca0132_toggle_dac_format’ [-Werror=implicit-function-declaration] ca0132_toggle_dac_format(codec); ^ Please give a patch that really builds and works cleanly with the upstream code! thanks, Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/