]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: rt-sdw-common: fix rt_sdca_index_update_bits function parameter description
authorBard Liao <yung-chuan.liao@linux.intel.com>
Thu, 24 Oct 2024 06:02:05 +0000 (14:02 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 24 Oct 2024 12:22:34 +0000 (13:22 +0100)
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>
sound/soc/codecs/rt-sdw-common.c

index 9f51fec383f9b30469bf72f45c6833c1614e2d10..ad61943ce75ffc4bad2a76241991f4d08da6724b 100644 (file)
@@ -76,7 +76,7 @@ EXPORT_SYMBOL_GPL(rt_sdca_index_read);
  * @nid: Realtek-defined ID.
  * @reg: register.
  * @mask: Bitmask to change
- * @value: New value for bitmask
+ * @val: New value for bitmask
  *
  * A value of zero will be returned on success, a negative errno will
  * be returned in error cases.