Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

ASoC: audio-graph-card2: add comment for format property

We don't need to have "format" property on DT any more if
CPU/Codec driver has .auto_selectable_formats settings
on snd_soc_dai_ops. The sample dtsi doesn't have it.
To avoid user confusion, this patch indicates it on comment.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Link: https://lore.kernel.org/r/87edjuzk2p.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Kuninori Morimoto and committed by
Mark Brown
ea2cb26a 014ee069

+19
+7
sound/soc/generic/audio-graph-card2-custom-sample.dtsi
··· 34 34 * ... 35 35 * }; 36 36 * 37 + * 38 + * Below sample doesn't use "format" property, 39 + * because test-component driver (test-cpu/test-codec) is supporting 40 + * snd_soc_dai_ops :: .auto_selectable_formats. 41 + * see 42 + * snd_soc_runtime_get_dai_fmt() 43 + * linux/sound/soc/generic/test-component.c :: test_dai_formats 37 44 */ 38 45 / { 39 46 /*
+12
sound/soc/generic/audio-graph-card2.c
··· 47 47 see 48 48 graph_parse_daifmt(). 49 49 50 + "format" property is no longer needed on DT if both CPU/Codec drivers are 51 + supporting snd_soc_dai_ops :: .auto_selectable_formats. 52 + see 53 + snd_soc_runtime_get_dai_fmt() 54 + 55 + sample driver 56 + linux/sound/soc/sh/rcar/core.c 57 + linux/sound/soc/codecs/ak4613.c 58 + linux/sound/soc/codecs/pcm3168a.c 59 + linux/sound/soc/soc-utils.c 60 + linux/sound/soc/generic/test-component.c 61 + 50 62 ************************************ 51 63 Normal Audio-Graph 52 64 ************************************