Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASoC: rt-sdw-common: fix rt_sdca_index_update_bits function parameter description

Fix the mismatch between function parameter and description.
Below warning are reported with W=1.
warning: Function parameter or struct member 'val' not described in
'rt_sdca_index_update_bits'
warning: Excess function parameter 'value' description in
'rt_sdca_index_update_bits'

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Shuming Fan <shumingf@realtek.com>
Link: https://patch.msgid.link/20241024060205.20201-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Bard Liao and committed by
Mark Brown
4d9661e2 a77e6c12

+1 -1
+1 -1
sound/soc/codecs/rt-sdw-common.c
··· 76 76 * @nid: Realtek-defined ID. 77 77 * @reg: register. 78 78 * @mask: Bitmask to change 79 - * @value: New value for bitmask 79 + * @val: New value for bitmask 80 80 * 81 81 * A value of zero will be returned on success, a negative errno will 82 82 * be returned in error cases.