7 Jan
2014
7 Jan
'14
5:48 p.m.
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@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.