[PATCH] ASoC: core: Make sure component driver names are unique
Ranjani Sridharan
ranjani.sridharan at linux.intel.com
Tue Apr 28 18:07:04 CEST 2020
On Tue, 2020-04-28 at 12:40 +0100, Mark Brown wrote:
> On Mon, Apr 27, 2020 at 12:33:06PM -0700, Ranjani Sridharan wrote:
>
> > When registering a component, make sure that the driver names
> > are unique. This will ensure that the snd_soc_rtdcom_lookup()
> > function returns the right component based on the name.
>
> I would not expect driver names to be unique, you can have multiple
> instances of the same device on a board for example when two mono
> speaker drivers are used for stereo playback.
Maybe I misunderstood your comment in the previous thread then, Mark.
https://mailman.alsa-project.org/pipermail/alsa-devel/2020-April/166665.html
Did you mean to say that the individual drivers should do this check
before registering multiple platform components to make sure they are
unique?
Thanks,
Ranjani
More information about the Alsa-devel
mailing list