Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 98806814 authored by Tanya Finkel's avatar Tanya Finkel
Browse files

ASoC: msm: Remove usage of dev_set_name in audio drivers for DB8094



dev_set_name is used in platform and cpu dai drivers to satisfy the
needs of the ALSA SoC framework. ASoC framework does make use of
platform and cpu dai names to check whether they are registered to
it or not for sound card instantiation. However, the framework has
an alternative way to compare the device's of_nodes against dai_link's
of_nodes to know whether the platform/cpu dai is registered or not.
Make changes in the driver to retrieve of_nodes and then assign to
dai_link's of_node so that we can get rid of using dev_set_name in
the drivers.

Inserted support for Dragon Board 8094 platform

Change-Id: Ife4401a63f6f76676839e47860705c79f09bd034
Signed-off-by: default avatarTanya Finkel <tfinkel@codeaurora.org>
parent 66da2fcd
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -532,6 +532,8 @@
		qcom,cdc-micbias2-headset-only;
		qcom,mbhc-audio-jack-type = "6-pole-jack";
		qcom,hdmi-audio-rx;
		asoc-codec = <&stub_codec>, <&hdmi_audio>;
		asoc-codec-names = "msm-stub-codec.1", "msm-hdmi-audio-codec-rx";
	};

	usb_detect {