[alsa-devel] [PATCH] ASoC: simple-card: Do not set cpu_dai.name for snd_link in case DT

Mark Brown broonie at kernel.org
Tue Jan 7 17:48:43 CET 2014


On Sun, Jan 05, 2014 at 10:09:58AM +0400, Alexander Shiyan wrote:
> Using cpu_dai.name for DT case will result driver cannot be
> initialized. For example, device have name "ssi at 10010000" in the DT
> and this value is returning for us by snd_soc_of_get_dai_name()
> but actual registered name of device is "10010000.ssi".

This doesn't seem like a great fix, it will break systems that register
more than one DAI per device and won't help any other machine drivers
using the lookup.  I'd have expected to fix either the registered name
or the result of the lookup so that it can be used for matching.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://mailman.alsa-project.org/pipermail/alsa-devel/attachments/20140107/30072a16/attachment.sig>


More information about the Alsa-devel mailing list