ASoC: codecs: rt5631: fix spurious kernel-doc start and missing arguments
Fixes the following W=1 kernel build warning(s): sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'component' not described in 'rt5631_write_index' sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'reg' not described in 'rt5631_write_index' sound/soc/codecs/rt5631.c:72: warning: Function parameter or member 'value' not described in 'rt5631_write_index' sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'component' not described in 'rt5631_read_index' sound/soc/codecs/rt5631.c:82: warning: Function parameter or member 'reg' not described in 'rt5631_read_index' sound/soc/codecs/rt5631.c:367: warning: Function parameter or member 'component' not described in 'onebit_depop_power_stage' sound/soc/codecs/rt5631.c:405: warning: Function parameter or member 'component' not described in 'onebit_depop_mute_stage' sound/soc/codecs/rt5631.c:443: warning: Function parameter or member 'component' not described in 'depop_seq_power_stage' sound/soc/codecs/rt5631.c:515: warning: Function parameter or member 'component' not described in 'depop_seq_mute_stage' Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200709162328.259586-8-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
79b094c9dc
commit
762a3d4313
@ -64,7 +64,7 @@ static const struct reg_default rt5631_reg[] = {
|
|||||||
{ RT5631_PSEUDO_SPATL_CTRL, 0x0553 },
|
{ RT5631_PSEUDO_SPATL_CTRL, 0x0553 },
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* rt5631_write_index - write index register of 2nd layer
|
* rt5631_write_index - write index register of 2nd layer
|
||||||
*/
|
*/
|
||||||
static void rt5631_write_index(struct snd_soc_component *component,
|
static void rt5631_write_index(struct snd_soc_component *component,
|
||||||
@ -74,7 +74,7 @@ static void rt5631_write_index(struct snd_soc_component *component,
|
|||||||
snd_soc_component_write(component, RT5631_INDEX_DATA, value);
|
snd_soc_component_write(component, RT5631_INDEX_DATA, value);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/*
|
||||||
* rt5631_read_index - read index register of 2nd layer
|
* rt5631_read_index - read index register of 2nd layer
|
||||||
*/
|
*/
|
||||||
static unsigned int rt5631_read_index(struct snd_soc_component *component,
|
static unsigned int rt5631_read_index(struct snd_soc_component *component,
|
||||||
@ -359,6 +359,7 @@ static int check_adcr_select(struct snd_soc_dapm_widget *source,
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* onebit_depop_power_stage - auto depop in power stage.
|
* onebit_depop_power_stage - auto depop in power stage.
|
||||||
|
* @component: ASoC component
|
||||||
* @enable: power on/off
|
* @enable: power on/off
|
||||||
*
|
*
|
||||||
* When power on/off headphone, the depop sequence is done by hardware.
|
* When power on/off headphone, the depop sequence is done by hardware.
|
||||||
@ -397,6 +398,7 @@ static void onebit_depop_power_stage(struct snd_soc_component *component, int en
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* onebit_depop_mute_stage - auto depop in mute stage.
|
* onebit_depop_mute_stage - auto depop in mute stage.
|
||||||
|
* @component: ASoC component
|
||||||
* @enable: mute/unmute
|
* @enable: mute/unmute
|
||||||
*
|
*
|
||||||
* When mute/unmute headphone, the depop sequence is done by hardware.
|
* When mute/unmute headphone, the depop sequence is done by hardware.
|
||||||
@ -435,6 +437,7 @@ static void onebit_depop_mute_stage(struct snd_soc_component *component, int ena
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* onebit_depop_power_stage - step by step depop sequence in power stage.
|
* onebit_depop_power_stage - step by step depop sequence in power stage.
|
||||||
|
* @component: ASoC component
|
||||||
* @enable: power on/off
|
* @enable: power on/off
|
||||||
*
|
*
|
||||||
* When power on/off headphone, the depop sequence is done in step by step.
|
* When power on/off headphone, the depop sequence is done in step by step.
|
||||||
@ -507,6 +510,7 @@ static void depop_seq_power_stage(struct snd_soc_component *component, int enabl
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* depop_seq_mute_stage - step by step depop sequence in mute stage.
|
* depop_seq_mute_stage - step by step depop sequence in mute stage.
|
||||||
|
* @component: ASoC component
|
||||||
* @enable: mute/unmute
|
* @enable: mute/unmute
|
||||||
*
|
*
|
||||||
* When mute/unmute headphone, the depop sequence is done in step by step.
|
* When mute/unmute headphone, the depop sequence is done in step by step.
|
||||||
|
Loading…
Reference in New Issue
Block a user