Re: [PATCH 1/9] ASoC: core: allow a dt node to provide several components

From: Mark Brown
Date: Thu Feb 13 2020 - 12:18:36 EST


On Thu, Feb 13, 2020 at 04:51:51PM +0100, Jerome Brunet wrote:

> At the moment, querying the dai_name will stop of the first component
> matching the dt node. This does not allow a device (single dt node) to
> provide several ASoC components which could then be used through DT.

> This change let the search go on if the xlate function of the component
> returns an error, giving the possibility to another component to match
> and return the dai_name.

My first question here would be why you'd want to do that rather than
combine everything into a single component since the hardware seems to
be doing that anyway. Hopefully the rest of the series will answer this
but it'd be good in the changelog here.

Attachment: signature.asc
Description: PGP signature