ASoC: Fix warning while make xmldocs caused by soc-core.c
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 ":"
Signed-off-by Masanari Iida <[email protected]>
--- sound/soc/soc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-core.c +1 -1
@@ -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
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'
Signed-off-by Masanari Iida <[email protected]>
--- sound/soc/soc-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/soc-core.c +1 -1
@@ -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