ASoC: of_parse_phandle techniques newbie question
Hi there,
In implementing a codec/driver combination, I found that I have to re-write some of the snd_soc_dai_link with device tree related entries :
http://mailman.alsa-project.org/pipermail/alsa-devel/2014-August/080034.html
Can anyone explain to me why we have to do this, a little confused here ? For example :
driver_dai.codec_name = NULL;
driver_dai.codec_of_node = of_parse_phandle(np, .....Why can't the codec be found from the codec_name which matches the previously probed codec ?
thanks
Matt