Skip to contentSkip to conversation

ASoC: Fix warning while make xmldocs caused by soc-core.c

PATCH New Masanari Iida 1 participant 2 messages Jul 15, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 ASoC: Fix warning while make xmldocs caused by soc-core.c

This patch fix following warning while make xmldocs. Warning(.//sound/soc/soc-core.c:2148): No description found for parameter 'ratio'

Add missing ":"

---
 sound/soc/soc-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-core.c +1 -1
index 8c8ce65..691fcc4 100644
@@ -2140,7 +2140,7 @@ EXPORT_SYMBOL_GPL(snd_soc_codec_set_pll);
 /**
  * snd_soc_dai_set_bclk_ratio - configure BCLK to sample rate ratio.
  * @dai: DAI
- * @ratio Ratio of BCLK to Sample rate.
+ * @ratio: Ratio of BCLK to Sample rate.
  *
  * Configures the DAI for a preset BCLK to sample rate ratio.
  */
Signature · 1 line
2.5.0.rc2.13.g961abca
#1 lore raw

PATCH 2/2 ASoC: Fix warning caused by a typo in comments of snd_soc_add_platform()

This patch fix following warnings. Warning(.//sound/soc/soc-core.c:2855): No description found for parameter 'platform_drv' Warning(.//sound/soc/soc-core.c:2855): Excess function parameter 'platform_driver' description in 'snd_soc_add_platform'

---
 sound/soc/soc-core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-core.c +1 -1
index 691fcc4..e7483ee 100644
@@ -2848,7 +2848,7 @@ static void snd_soc_platform_drv_remove(struct snd_soc_component *component)
  * snd_soc_add_platform - Add a platform to the ASoC core
  * @dev: The parent device for the platform
  * @platform: The platform to add
- * @platform_driver: The driver for the platform
+ * @platform_drv: The driver for the platform
  */
 int snd_soc_add_platform(struct device *dev, struct snd_soc_platform *platform,
 		const struct snd_soc_platform_driver *platform_drv)
Signature · 1 line
2.5.0.rc2.13.g961abca