]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
firmware: cs_dsp: Clarify some kernel doc comments
authorCharles Keepax <ckeepax@opensource.cirrus.com>
Wed, 17 Nov 2021 13:22:58 +0000 (13:22 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 17 Nov 2021 22:16:26 +0000 (22:16 +0000)
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20211117132300.1290-8-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/firmware/cirrus/cs_dsp.c
include/linux/firmware/cirrus/cs_dsp.h

index 9eecd162653755ab2f0214ac26835a723516ac1c..d1bcade2efe238b877b1ef2ee7f1be1793392b11 100644 (file)
@@ -746,7 +746,7 @@ static int cs_dsp_coeff_write_ctrl_raw(struct cs_dsp_coeff_ctl *ctl,
  * cs_dsp_coeff_write_ctrl() - Writes the given buffer to the given coefficient control
  * @ctl: pointer to coefficient control
  * @buf: the buffer to write to the given control
- * @len: the length of the buffer
+ * @len: the length of the buffer in bytes
  *
  * Must be called with pwr_lock held.
  *
@@ -808,7 +808,7 @@ static int cs_dsp_coeff_read_ctrl_raw(struct cs_dsp_coeff_ctl *ctl, void *buf, s
  * cs_dsp_coeff_read_ctrl() - Reads the given coefficient control into the given buffer
  * @ctl: pointer to coefficient control
  * @buf: the buffer to store to the given control
- * @len: the length of the buffer
+ * @len: the length of the buffer in bytes
  *
  * Must be called with pwr_lock held.
  *
index 0bf849baeaa5a528e97e862b4e29f93211d07c63..1ad1b173417a0e77ff38bc449565c5b5f2fba19a 100644 (file)
@@ -76,8 +76,8 @@ struct cs_dsp_alg_region {
  * @enabled:           Flag indicating whether control is enabled
  * @list:              List node for internal use
  * @cache:             Cached value of the control
- * @offset:            Offset of control within alg_region
- * @len:               Length of the cached value
+ * @offset:            Offset of control within alg_region in words
+ * @len:               Length of the cached value in bytes
  * @set:               Flag indicating the value has been written by the user
  * @flags:             Bitfield of WMFW_CTL_FLAG_ control flags defined in wmfw.h
  * @type:              One of the WMFW_CTL_TYPE_ control types defined in wmfw.h