]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ASoC: soc_sdw_utils: Change comment into proper kernel doc
authorMaciej Strozek <mstrozek@opensource.cirrus.com>
Fri, 8 May 2026 09:47:50 +0000 (17:47 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 01:05:35 +0000 (10:05 +0900)
Update the comment above is_sdca_endpoint_present().

Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://patch.msgid.link/20260508094750.1246796-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sdw_utils/soc_sdw_utils.c

index 88aedc2099650b80cd26e7afb4f66b883d1d38a4..4ade1d9e79bfd2078ce6c8bfe07da91ef11082d7 100644 (file)
@@ -1688,20 +1688,16 @@ int asoc_sdw_get_dai_type(u32 type)
 }
 EXPORT_SYMBOL_NS(asoc_sdw_get_dai_type, "SND_SOC_SDW_UTILS");
 
-/*
- * Check if the SDCA endpoint is present by the SDW peripheral
- *
+/**
+ * is_sdca_endpoint_present - Check if an SDCA endpoint is present on the SDW peripheral
  * @dev: Device pointer
  * @codec_info: Codec info pointer
  * @adr_link: ACPI link address
  * @adr_index: Index of the ACPI link address
  * @end_index: Index of the endpoint
  *
- * Return: 1 if the endpoint is present,
- *        0 if the endpoint is not present,
- *        negative error code.
+ * Return: 1 if the endpoint is present, 0 if the endpoint is not present, or negative error code.
  */
-
 static int is_sdca_endpoint_present(struct device *dev,
                                    struct asoc_sdw_codec_info *codec_info,
                                    const struct snd_soc_acpi_link_adr *adr_link,