From: Kuninori Morimoto Subject: Re: About ALSA SoC cpu/codec asymmetry Date: Mon, 10 Mar 2014 00:03:54 -0700 (PDT) Message-ID: <8761nmsffx.wl%kuninori.morimoto.gx@gmail.com> References: <8738iqst0t.wl%kuninori.morimoto.gx@gmail.com> <531D5ED4.4090208@metafoo.de> 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-pd0-f171.google.com (mail-pd0-f171.google.com [209.85.192.171]) by alsa0.perex.cz (Postfix) with ESMTP id 12632264F02 for ; Mon, 10 Mar 2014 08:03:56 +0100 (CET) Received: by mail-pd0-f171.google.com with SMTP id r10so6687884pdi.2 for ; Mon, 10 Mar 2014 00:03:55 -0700 (PDT) In-Reply-To: <531D5ED4.4090208@metafoo.de> 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: Lars-Peter Clausen Cc: Linux-ALSA , Kuninori Morimoto , Stephen Warren , Mark Brown , Liam Girdwood , Simon List-Id: alsa-devel@alsa-project.org Hi Lars > There is already a cpu_name field for the DAI link struct and it is ignored > when it is NULL. See > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/sound/soc/soc-core.c#n870 indeed Thanks > I have a patch that makes using cpu_name mandatory for new component > drivers. And then we can slowly start to convert old platforms. Nice ! Basically, my worry is cpu/codec "asymmetry" data structure. (Maybe it came from "historical" reason?) I would like to have new "struct snd_soc_cpu" and "snd_soc_register_cpu()" instead of current "component" if possible. It is understandable.