Skip to content

Commit 2aac2a3

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 958252b commit 2aac2a3

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

sound/soc/sdw_utils/soc_sdw_utils.c

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

1526-
/*
1527-
* Check if the SDCA endpoint is present by the SDW peripheral
1528-
*
1526+
/**
1527+
* is_sdca_endpoint_present - Check if an SDCA endpoint is present on the SDW peripheral
15291528
* @dev: Device pointer
15301529
* @codec_info: Codec info pointer
15311530
* @adr_link: ACPI link address
15321531
* @adr_index: Index of the ACPI link address
15331532
* @end_index: Index of the endpoint
15341533
*
1535-
* Return: 1 if the endpoint is present,
1536-
* 0 if the endpoint is not present,
1537-
* negative error code.
1534+
* Return: 1 if the endpoint is present, 0 if the endpoint is not present, or negative error code.
15381535
*/
1539-
15401536
static int is_sdca_endpoint_present(struct device *dev,
15411537
struct asoc_sdw_codec_info *codec_info,
15421538
const struct snd_soc_acpi_link_adr *adr_link,

0 commit comments

Comments
 (0)