Unverified Commit 1cef66f5 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Mark Brown
Browse files

ASoC: qcom: use asoc_dummy_dlc

parent 87e39e9b
Loading
Loading
Loading
Loading
+1 −10
Original line number Diff line number Diff line
@@ -140,17 +140,8 @@ int qcom_snd_parse_of(struct snd_soc_card *card)
			}
		} else {
			/* DPCM frontend */
			dlc = devm_kzalloc(dev, sizeof(*dlc), GFP_KERNEL);
			if (!dlc) {
				ret = -ENOMEM;
				goto err;
			}

			link->codecs	 = dlc;
			link->codecs	 = &asoc_dummy_dlc;
			link->num_codecs = 1;

			link->codecs->dai_name = "snd-soc-dummy-dai";
			link->codecs->name = "snd-soc-dummy";
			link->dynamic = 1;
		}