Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Mark Brown <broonie@kernel.org>
To: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Cc: Vinod Koul <vinod.koul@intel.com>,
	Linux-ALSA <alsa-devel@alsa-project.org>,
	Lars-Peter <lars@metafoo.de>, Shreyas NC <shreyas.nc@intel.com>
Subject: Re: About ASoC DAIs cleanup
Date: Tue, 19 Dec 2017 11:23:02 +0000	[thread overview]
Message-ID: <20171219112302.GI8563@sirena.org.uk> (raw)
In-Reply-To: <87mv2grdqm.wl%kuninori.morimoto.gx@renesas.com>


[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]

On Mon, Dec 18, 2017 at 02:16:07AM +0000, Kuninori Morimoto wrote:

> My quick idea is using "peripheral" flag.
> I think we can set it on soc_bind_dai_link() ?
> And we can use it like below

> 	for_each_dais(dai, xxx) {
> 		if(!dai->peripheral)
> 			/* non Peripheral == CPU portion */
> 
> 		if(dai->peripheral)
> 			/* Peripheral == Codec portion */
> 	}

> But what do you think about this idea/naming etc ?
> I want to investigate more about Codec <-> Codec connection,
> which driver is using it ? Especially CPU portion

I'm thinking it might be better to keep the list ordered in the DAI link
- that will scale up better with multi-drop links.  What's going to be a
bit more tricky sometimes is working out which end of the link is a CPU
DAI but we can probably take a good guess easily enough on order neutral
bindings and things liken simple-card already know explicitly.

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2017-12-19 11:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20171208084103.GC18649@localhost>
     [not found] ` <87fu8lio74.wl%kuninori.morimoto.gx@renesas.com>
     [not found]   ` <20171208105545.GE18649@localhost>
     [not found]     ` <87shciup8e.wl%kuninori.morimoto.gx@renesas.com>
     [not found]       ` <87r2s2uo55.wl%kuninori.morimoto.gx@renesas.com>
     [not found]         ` <87o9n6ukyg.wl%kuninori.morimoto.gx@renesas.com>
2017-12-13  7:19           ` About ASoC DAIs cleanup Kuninori Morimoto
2017-12-13 15:59             ` Mark Brown
2017-12-14  3:07               ` Kuninori Morimoto
2017-12-14  5:06                 ` Vinod Koul
2017-12-14  5:24                   ` Kuninori Morimoto
2017-12-14 11:37                   ` Mark Brown
2017-12-15  4:20                     ` Vinod Koul
2017-12-18  2:16                       ` Kuninori Morimoto
2017-12-19 11:23                         ` Mark Brown [this message]
2017-12-21  1:28                           ` Kuninori Morimoto
2017-12-21 11:25                             ` Mark Brown
2017-12-22  1:23                               ` Kuninori Morimoto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171219112302.GI8563@sirena.org.uk \
    --to=broonie@kernel.org \
    --cc=alsa-devel@alsa-project.org \
    --cc=kuninori.morimoto.gx@renesas.com \
    --cc=lars@metafoo.de \
    --cc=shreyas.nc@intel.com \
    --cc=vinod.koul@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox