[PATCH] ASoC: core: Make sure component driver names are unique

Mark Brown broonie at kernel.org
Tue Apr 28 13:40:44 CEST 2020


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20200428/86878a87/attachment.sig>


More information about the Alsa-devel mailing list