Skip to content

Commit 106e683

Browse files
mstrozekbardliao
authored andcommitted
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 9931763 commit 106e683

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
@@ -1688,20 +1688,16 @@ int asoc_sdw_get_dai_type(u32 type)
16881688
}
16891689
EXPORT_SYMBOL_NS(asoc_sdw_get_dai_type, "SND_SOC_SDW_UTILS");
16901690

1691-
/*
1692-
* Check if the SDCA endpoint is present by the SDW peripheral
1693-
*
1691+
/**
1692+
* is_sdca_endpoint_present - Check if an SDCA endpoint is present on the SDW peripheral
16941693
* @dev: Device pointer
16951694
* @codec_info: Codec info pointer
16961695
* @adr_link: ACPI link address
16971696
* @adr_index: Index of the ACPI link address
16981697
* @end_index: Index of the endpoint
16991698
*
1700-
* Return: 1 if the endpoint is present,
1701-
* 0 if the endpoint is not present,
1702-
* negative error code.
1699+
* Return: 1 if the endpoint is present, 0 if the endpoint is not present, or negative error code.
17031700
*/
1704-
17051701
static int is_sdca_endpoint_present(struct device *dev,
17061702
struct asoc_sdw_codec_info *codec_info,
17071703
const struct snd_soc_acpi_link_adr *adr_link,

0 commit comments

Comments
 (0)