From mboxrd@z Thu Jan 1 00:00:00 1970 From: Liam Girdwood Subject: Re: Confusing about Playback/Capture, CODEC/CODEC links, and snd_soc_dapm_link_dai_widgets() Date: Mon, 04 Jun 2012 17:57:19 +0100 Message-ID: <1338829039.15595.5.camel@odin> References: <4FC7F576.30101@wwwdotorg.org> <20120531233702.GA30717@opensource.wolfsonmicro.com> <1338570117.5179.2.camel@odin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from na3sys009aog108.obsmtp.com (na3sys009aog108.obsmtp.com [74.125.149.199]) by alsa0.perex.cz (Postfix) with ESMTP id E993E2443C for ; Mon, 4 Jun 2012 18:57:25 +0200 (CEST) Received: by werh12 with SMTP id h12so2949565wer.38 for ; Mon, 04 Jun 2012 09:57:22 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Sebastien LEDUC Cc: "alsa-devel@alsa-project.org" , Mark Brown , Stephen Warren List-Id: alsa-devel@alsa-project.org On Mon, 2012-06-04 at 15:02 +0200, Sebastien LEDUC wrote: > Hi Liam > There seem to be a similar mistake in the implementation of is_connected_output_ep / is_connected_input_ep: > > In function is_connected_output_ep: > ----------------------------------------------- > > list_for_each_entry(path, &widget->sinks, list_source) { > ... > err = dapm_list_add_widget(list, path->sink); > ... > } > > In function is_connected_input_ep: > --------------------------------------------- > > list_for_each_entry(path, &widget->sources, list_sink) { > ... > err = dapm_list_add_widget(list, path->sink); > } > > > I would have expected to have for the latter: > err = dapm_list_add_widget(list, path->source); Your right, this patch also got somehow dropped from squashing prior to upstream. I'll send the fix shortly. Thanks Liam