[alsa-devel] [resend][PATCH v5 07/10] ASoC: add snd_soc_get_dai_id()

Rob Herring robh+dt at kernel.org
Mon Apr 17 15:41:31 CEST 2017


On Sun, Apr 16, 2017 at 7:23 PM, Kuninori Morimoto
<kuninori.morimoto.gx at renesas.com> wrote:
>
> From: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
>
> ALSA SoC needs to know connected DAI ID for probing.
> On OF-graph case, basically we can check DT port location.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx at renesas.com>
> ---
> v4 -> v5
>
>  - no change

You can keep posting the same version again, but I still have the same
objections.

Having the core graph-card parsing details of remote endpoints is
fragile. The driver for the remote node should do the parsing of its
own endpoints and is the only entity that should care or know what the
port and endpoint numbering is. The fact that you are planning to
change this for HDMI support is evidence of that. I don't see the
point of a temporary solution.

Rob


More information about the Alsa-devel mailing list