Re: [PATCH] ASoC: simple-card: Don't create separate link when platform is present

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

> In normal sound case all DAIs are detected as CPU-Codec.
> simple_dai_link_of supports the presence of a platform but it counts
> it as a CPU DAI resulting in the creation of an extra link.
> 
> Adding a platform property to a link description like:
> 
> simple-audio-card,dai-link {
> 	cpu {
> 		sound-dai = <&sai1>;
> 	};
> 	plat {
> 		sound-dai = <&dsp>;
> 	};
> 	codec {
> 		sound-dai = <&wm8960>;
> 	}
> 
> will result in the creation of two links:
> 	* sai1 <-> wm8960
> 	* dsp  <-> wm8960
> 
> which is obviously not what we want. We just want one single link
> with:
> 	* sai1 <-> wm8960 (and platform set to dsp).
> 
> Signed-off-by: Daniel Baluta <daniel.baluta@xxxxxxx>
> ---

Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>

Thank you for your help !!
Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux