From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kuninori Morimoto Subject: Re: ASoC:simple-card: problem with multi-DAIs Date: Tue, 02 Sep 2014 04:03:47 -0700 (PDT) Message-ID: <878um2jncd.wl%kuninori.morimoto.gx@gmail.com> References: <20140902090005.4a2c80b2@armhf> 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 mail-pa0-f44.google.com (mail-pa0-f44.google.com [209.85.220.44]) by alsa0.perex.cz (Postfix) with ESMTP id C3BE6264EAA for ; Tue, 2 Sep 2014 13:03:50 +0200 (CEST) Received: by mail-pa0-f44.google.com with SMTP id rd3so14609685pab.31 for ; Tue, 02 Sep 2014 04:03:48 -0700 (PDT) In-Reply-To: <20140902090005.4a2c80b2@armhf> 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: Jean-Francois Moine Cc: Linux-ALSA , Mark Brown , Lars-Peter Clausen List-Id: alsa-devel@alsa-project.org Hi Jean > I have an audio controller with 2 DAIs. The audio system is defined as: (snip) > The 'cpu_of_node' of both CPU DAIs is the same ('audio1'), and only the > cpu_dai_name permits to know the CPU DAI. > > But, as you removed it, both DAI links are built with the 1st CPU DAI > (I2S), and the second link (via S/PDIF) does not work. I guess, there were 2 problems 1) simple-card doesn't care about multi dai-link case 2) simple-card doesn't care <&xxx y> case Your kernel works well before, but it seems lucky case. The problem is not dai-link num size, it should care cpu dai's args_count size I will send patch your case Best regards --- Kuninori Morimoto