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

Commit 36b5278d authored by Vangala, Amarnath's avatar Vangala, Amarnath
Browse files

asoc: Fix dailink init function in holi machine driver



Remove unwanted code from a dailink init function.

Change-Id: Ieeb244f2319fc6f2f1cf202748fe6826dba229a8
Signed-off-by: default avatarVangala, Amarnath <avangala@codeaurora.org>
parent 5fbd9fb1
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -6292,12 +6292,6 @@ static int msm_int_audrx_init(struct snd_soc_pcm_runtime *rtd)
				snd_soc_card_get_drvdata(rtd->card);
	int ret = 0;

	component = snd_soc_rtdcom_lookup(rtd, "wsa-codec.1");
	if (!component) {
		pr_err("%s: wsa-codec.1 component is NULL\n", __func__);
		return -EINVAL;
	}

	component = snd_soc_rtdcom_lookup(rtd, "bolero_codec");
	if (!component) {
		pr_err("%s: could not find component for bolero_codec\n",