Skip to content

Commit fdd7d85

Browse files
charleskeepaxbardliao
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 <yung-chuan.liao@linux.intel.com> Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
1 parent 9f20154 commit fdd7d85

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.
@@ -995,7 +996,7 @@ static int populate_pin_switch(struct device *dev,
995996
* sdca_asoc_populate_controls - fill in an array of ALSA controls for a Function
996997
* @dev: Pointer to the device against which allocations will be done.
997998
* @function: Pointer to the Function information.
998-
* @route: Array of ALSA controls to be populated.
999+
* @kctl: Array of ALSA controls to be populated.
9991000
*
10001001
* This function populates an array of ALSA controls from the DisCo
10011002
* information for a particular SDCA Function. Typically,
@@ -1242,7 +1243,11 @@ EXPORT_SYMBOL_NS(sdca_asoc_populate_dais, "SND_SOC_SDCA");
12421243
* sdca_asoc_populate_component - fill in a component driver for a Function
12431244
* @dev: Pointer to the device against which allocations will be done.
12441245
* @function: Pointer to the Function information.
1245-
* @copmonent_drv: Pointer to the component driver to be populated.
1246+
* @component_drv: Pointer to the component driver to be populated.
1247+
* @dai_drv: Pointer to the DAI driver array to be allocated and populated.
1248+
* @num_dai_drv: Pointer to integer that will be populated with the number of
1249+
* DAI drivers.
1250+
* @ops: DAI ops pointer that will be used for each DAI driver.
12461251
*
12471252
* This function populates a snd_soc_component_driver structure based
12481253
* on the DisCo information for a particular SDCA Function. It does

0 commit comments

Comments
 (0)