[alsa-devel] [PATCH 4/5] ASoC: dapm: Use snd_soc_dapm_add_path() in snd_soc_dapm_new_pcm()
Lars-Peter Clausen
lars at metafoo.de
Wed May 7 15:35:31 CEST 2014
On 05/07/2014 03:05 PM, Lars-Peter Clausen wrote:
> @@ -3275,13 +3276,10 @@ int snd_soc_dapm_new_pcm(struct snd_soc_card *card,
>
> memset(&routes, 0, sizeof(routes));
>
> - routes[0].source = source->name;
> - routes[0].sink = link_name;
> - routes[1].source = link_name;
> - routes[1].sink = sink->name;
The patch should probably also remove routes, as it is now unused...
More information about the Alsa-devel
mailing list