Commit 075d7da7 authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: codecs: nau8825: fix kernel-doc

v5.12-rc1 flags new warnings with make W=1, fix missing or broken
function descriptors.

sound/soc/codecs/nau8825.c:298: warning: wrong kernel-doc identifier
on line:
 * Ramp up the headphone volume change gradually to target level.

sound/soc/codecs/nau8825.c:358: warning: expecting prototype for This
func(). Prototype was for nau8825_intlog10_dec3() instead

sound/soc/codecs/nau8825.c:411: warning: wrong kernel-doc identifier
on line:
 * computes cross talk suppression sidetone gain.
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210301174639.117017-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent fa576ff6
...@@ -295,7 +295,7 @@ static inline void nau8825_sema_reset(struct nau8825 *nau8825) ...@@ -295,7 +295,7 @@ static inline void nau8825_sema_reset(struct nau8825 *nau8825)
} }
/** /**
* Ramp up the headphone volume change gradually to target level. * nau8825_hpvol_ramp - Ramp up the headphone volume change gradually to target level.
* *
* @nau8825: component to register the codec private data with * @nau8825: component to register the codec private data with
* @vol_from: the volume to start up * @vol_from: the volume to start up
...@@ -347,8 +347,9 @@ static void nau8825_hpvol_ramp(struct nau8825 *nau8825, ...@@ -347,8 +347,9 @@ static void nau8825_hpvol_ramp(struct nau8825 *nau8825,
} }
/** /**
* Computes log10 of a value; the result is round off to 3 decimal. This func- * nau8825_intlog10_dec3 - Computes log10 of a value
* tion takes reference to dvb-math. The source code locates as the following. * the result is round off to 3 decimal. This function takes reference to
* dvb-math. The source code locates as the following.
* Linux/drivers/media/dvb-core/dvb_math.c * Linux/drivers/media/dvb-core/dvb_math.c
* @value: input for log10 * @value: input for log10
* *
...@@ -408,7 +409,7 @@ static u32 nau8825_intlog10_dec3(u32 value) ...@@ -408,7 +409,7 @@ static u32 nau8825_intlog10_dec3(u32 value)
} }
/** /**
* computes cross talk suppression sidetone gain. * nau8825_xtalk_sidetone - computes cross talk suppression sidetone gain.
* *
* @sig_org: orignal signal level * @sig_org: orignal signal level
* @sig_cros: cross talk signal level * @sig_cros: cross talk signal level
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment