Skip to content

Commit 33026c6

Browse files
committed
ASoC: soc_sdw_utils: Change comment into proper kernel doc
Update the comment above is_sdca_endpoint_present(). Signed-off-by: Maciej Strozek <mstrozek@opensource.cirrus.com>
1 parent 86b0960 commit 33026c6

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

sound/soc/sdw_utils/soc_sdw_utils.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1525,20 +1525,16 @@ int asoc_sdw_get_dai_type(u32 type)
15251525
}
15261526
EXPORT_SYMBOL_NS(asoc_sdw_get_dai_type, "SND_SOC_SDW_UTILS");
15271527

1528-
/*
1529-
* Check if the SDCA endpoint is present by the SDW peripheral
1530-
*
1528+
/**
1529+
* is_sdca_endpoint_present - Check if an SDCA endpoint is present on the SDW peripheral
15311530
* @dev: Device pointer
15321531
* @codec_info: Codec info pointer
15331532
* @adr_link: ACPI link address
15341533
* @adr_index: Index of the ACPI link address
15351534
* @end_index: Index of the endpoint
15361535
*
1537-
* Return: 1 if the endpoint is present,
1538-
* 0 if the endpoint is not present,
1539-
* negative error code.
1536+
* Return: 1 if the endpoint is present, 0 if the endpoint is not present, or negative error code.
15401537
*/
1541-
15421538
static int is_sdca_endpoint_present(struct device *dev,
15431539
struct asoc_sdw_codec_info *codec_info,
15441540
const struct snd_soc_acpi_link_adr *adr_link,

0 commit comments

Comments
 (0)