[alsa-devel] [PATCH] ASoC: fix build warning in soc-core.c

Randy Dunlap rdunlap at infradead.org
Mon Oct 30 01:10:34 CET 2017


From: Randy Dunlap <rdunlap at infradead.org>

Fix kernel-doc build error. A symbol that ends with an underscore
character ('_') has special meaning in reST (reStructuredText), so add
a '*' to prevent this error and to indicate that there are several of
these values to choose from.

../sound/soc/soc-core.c:2799: ERROR: Unknown target name: "snd_soc_daifmt".

Signed-off-by: Randy Dunlap <rdunlap at infradead.org>
Cc:	Liam Girdwood <lgirdwood at gmail.com>
Cc:	Mark Brown <broonie at kernel.org>
Cc:	alsa-devel at alsa-project.org
---
 sound/soc/soc-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- lnx-414-rc7.orig/sound/soc/soc-core.c
+++ lnx-414-rc7/sound/soc/soc-core.c
@@ -2796,7 +2796,7 @@ EXPORT_SYMBOL_GPL(snd_soc_dai_set_bclk_r
 /**
  * snd_soc_dai_set_fmt - configure DAI hardware audio format.
  * @dai: DAI
- * @fmt: SND_SOC_DAIFMT_ format value.
+ * @fmt: SND_SOC_DAIFMT_* format value.
  *
  * Configures the DAI hardware format and clocking.
  */




More information about the Alsa-devel mailing list