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

ASoC: codecs: fix kernel doc descriptions

Missing or spurious parameter descriptions. Fix warnings with W=1
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 37b6f035
...@@ -351,6 +351,7 @@ static void nau8825_hpvol_ramp(struct nau8825 *nau8825, ...@@ -351,6 +351,7 @@ static void nau8825_hpvol_ramp(struct nau8825 *nau8825,
* Computes log10 of a value; the result is round off to 3 decimal. This func- * Computes log10 of a value; the result is round off to 3 decimal. This func-
* tion takes reference to dvb-math. The source code locates as the following. * tion 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
* *
* return log10(value) * 1000 * return log10(value) * 1000
*/ */
......
...@@ -489,6 +489,7 @@ static const struct snd_kcontrol_new rt5514_sto2_dmic_mux = ...@@ -489,6 +489,7 @@ static const struct snd_kcontrol_new rt5514_sto2_dmic_mux =
/** /**
* rt5514_calc_dmic_clk - Calculate the frequency divider parameter of dmic. * rt5514_calc_dmic_clk - Calculate the frequency divider parameter of dmic.
* *
* @component: only used for dev_warn
* @rate: base clock rate. * @rate: base clock rate.
* *
* Choose divider parameter that gives the highest possible DMIC frequency in * Choose divider parameter that gives the highest possible DMIC frequency in
......
...@@ -547,7 +547,7 @@ static bool rt5677_readable_register(struct device *dev, unsigned int reg) ...@@ -547,7 +547,7 @@ static bool rt5677_readable_register(struct device *dev, unsigned int reg)
* @rt5677: Private Data. * @rt5677: Private Data.
* @addr: Address index. * @addr: Address index.
* @value: Address data. * @value: Address data.
* * @opcode: opcode value
* *
* Returns 0 for success or negative error code. * Returns 0 for success or negative error code.
*/ */
...@@ -602,7 +602,7 @@ static int rt5677_dsp_mode_i2c_write_addr(struct rt5677_priv *rt5677, ...@@ -602,7 +602,7 @@ static int rt5677_dsp_mode_i2c_write_addr(struct rt5677_priv *rt5677,
/** /**
* rt5677_dsp_mode_i2c_read_addr - Read value from address on DSP mode. * rt5677_dsp_mode_i2c_read_addr - Read value from address on DSP mode.
* rt5677: Private Data. * @rt5677: Private Data.
* @addr: Address index. * @addr: Address index.
* @value: Address data. * @value: Address data.
* *
...@@ -651,7 +651,7 @@ static int rt5677_dsp_mode_i2c_read_addr( ...@@ -651,7 +651,7 @@ static int rt5677_dsp_mode_i2c_read_addr(
/** /**
* rt5677_dsp_mode_i2c_write - Write register on DSP mode. * rt5677_dsp_mode_i2c_write - Write register on DSP mode.
* rt5677: Private Data. * @rt5677: Private Data.
* @reg: Register index. * @reg: Register index.
* @value: Register data. * @value: Register data.
* *
...@@ -667,7 +667,7 @@ static int rt5677_dsp_mode_i2c_write(struct rt5677_priv *rt5677, ...@@ -667,7 +667,7 @@ static int rt5677_dsp_mode_i2c_write(struct rt5677_priv *rt5677,
/** /**
* rt5677_dsp_mode_i2c_read - Read register on DSP mode. * rt5677_dsp_mode_i2c_read - Read register on DSP mode.
* @codec: SoC audio codec device. * @rt5677: Private Data
* @reg: Register index. * @reg: Register index.
* @value: Register data. * @value: Register data.
* *
......
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