From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932091AbdIHQpU (ORCPT ); Fri, 8 Sep 2017 12:45:20 -0400 Received: from mail-yw0-f174.google.com ([209.85.161.174]:34619 "EHLO mail-yw0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753545AbdIHQpS (ORCPT ); Fri, 8 Sep 2017 12:45:18 -0400 X-Google-Smtp-Source: ADKCNb7qWfWTugbCzh28JU5i73MOXYkNx9Q7uwaI2ttzckb/g+fn5sJChm6rkU8zNK2Mcjo4rjSSYQ== Date: Fri, 8 Sep 2017 18:45:12 +0200 From: Krzysztof Kozlowski To: Jaechul Lee Cc: Sangbeom Kim , Sylwester Nawrocki , Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , alsa-devel@alsa-project.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, galaxyra@gmail.com, Chanwoo Choi Subject: Re: [PATCH v2 2/3] ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links Message-ID: <20170908164512.5wwrn2gknfzzb6uy@kozik-lap> References: <20170906010415.26952-1-jcsing.lee@samsung.com> <20170906010415.26952-3-jcsing.lee@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170906010415.26952-3-jcsing.lee@samsung.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 06, 2017 at 10:04:14AM +0900, Jaechul Lee wrote: > Add specific cpu_dai_name to dai_link because samsung i2s driver registers > two dais and components. Selecting one of them clearly is needed more > information like cpu_dai_name, of_node. The reason why the dai_links have > to use 'samsung-i2s' for cpu_dai is that 'samsung-i2s-sec' doesn't have a > capture functionality. > > Without this code, cpu_dai will be selected the first one of the > component_list. For example, if I describe nothing to cpu_dai_name, > 'samsung-i2s-sec' might be selected to HiFi Primay. > > Signed-off-by: Jaechul Lee > --- > sound/soc/samsung/tm2_wm5110.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof