Skip to content

Commit b4515fd

Browse files
charleskeepaxbroonie
authored andcommitted
ASoC: SDCA: Fixup some kernel doc errors
Correct some typos and omissions in the kernel doc for the ASoC SDCA code. Fixes: 2c8b3a8 ("ASoC: SDCA: Create DAPM widgets and routes from DisCo") Reported-by: Bard Liao <[email protected]> Reviewed-by: Bard Liao <[email protected]> Signed-off-by: Charles Keepax <[email protected]> Reviewed-by: Pierre-Louis Bossart <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 2ed526b commit b4515fd

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

sound/soc/sdca/sdca_asoc.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ static bool readonly_control(struct sdca_control *control)
9393

9494
/**
9595
* sdca_asoc_count_component - count the various component parts
96+
* @dev: Pointer to the device against which allocations will be done.
9697
* @function: Pointer to the Function information.
9798
* @num_widgets: Output integer pointer, will be filled with the
9899
* required number of DAPM widgets for the Function.
@@ -997,7 +998,7 @@ static int populate_pin_switch(struct device *dev,
997998
* sdca_asoc_populate_controls - fill in an array of ALSA controls for a Function
998999
* @dev: Pointer to the device against which allocations will be done.
9991000
* @function: Pointer to the Function information.
1000-
* @route: Array of ALSA controls to be populated.
1001+
* @kctl: Array of ALSA controls to be populated.
10011002
*
10021003
* This function populates an array of ALSA controls from the DisCo
10031004
* information for a particular SDCA Function. Typically,
@@ -1244,7 +1245,11 @@ EXPORT_SYMBOL_NS(sdca_asoc_populate_dais, "SND_SOC_SDCA");
12441245
* sdca_asoc_populate_component - fill in a component driver for a Function
12451246
* @dev: Pointer to the device against which allocations will be done.
12461247
* @function: Pointer to the Function information.
1247-
* @copmonent_drv: Pointer to the component driver to be populated.
1248+
* @component_drv: Pointer to the component driver to be populated.
1249+
* @dai_drv: Pointer to the DAI driver array to be allocated and populated.
1250+
* @num_dai_drv: Pointer to integer that will be populated with the number of
1251+
* DAI drivers.
1252+
* @ops: DAI ops pointer that will be used for each DAI driver.
12481253
*
12491254
* This function populates a snd_soc_component_driver structure based
12501255
* on the DisCo information for a particular SDCA Function. It does

0 commit comments

Comments
 (0)