Skip to content

Commit 4f5c265

Browse files
plbossarttiwai
authored andcommitted
ALSA: hda: correct kernel-doc parameter descriptions
make W=1 throws warnings, provide missing documentation Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 6e57188 commit 4f5c265

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

sound/pci/hda/hda_codec.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -891,6 +891,7 @@ static int snd_hda_codec_device_init(struct hda_bus *bus, struct snd_card *card,
891891
/**
892892
* snd_hda_codec_new - create a HDA codec
893893
* @bus: the bus to assign
894+
* @card: card for this codec
894895
* @codec_addr: the codec address
895896
* @codecp: the pointer to store the generated codec
896897
*

sound/pci/hda/hda_generic.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4042,6 +4042,11 @@ static void call_ledtrig_micmute(struct hda_codec *codec)
40424042
*
40434043
* Note that this fixup has to be called after other fixup that sets
40444044
* cap_sync_hook. Otherwise the chaining wouldn't work.
4045+
*
4046+
* @codec: the HDA codec
4047+
* @fix: fixup pointer
4048+
* @action: only supports HDA_FIXUP_ACT_PROBE value
4049+
*
40454050
*/
40464051
void snd_hda_gen_fixup_micmute_led(struct hda_codec *codec,
40474052
const struct hda_fixup *fix, int action)

sound/pci/hda/hda_jack.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ any_jack_tbl_get_from_nid(struct hda_codec *codec, hda_nid_t nid)
122122
* snd_hda_jack_tbl_new - create a jack-table entry for the given NID
123123
* @codec: the HDA codec
124124
* @nid: pin NID to assign
125+
* @dev_id: pin device entry id
125126
*/
126127
static struct hda_jack_tbl *
127128
snd_hda_jack_tbl_new(struct hda_codec *codec, hda_nid_t nid, int dev_id)
@@ -233,6 +234,7 @@ EXPORT_SYMBOL_GPL(snd_hda_jack_set_dirty_all);
233234
* snd_hda_jack_pin_sense - execute pin sense measurement
234235
* @codec: the CODEC to sense
235236
* @nid: the pin NID to sense
237+
* @dev_id: pin device entry id
236238
*
237239
* Execute necessary pin sense measurement and return its Presence Detect,
238240
* Impedance, ELD Valid etc. status bits.

sound/pci/hda/patch_ca0132.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,6 +1923,7 @@ static int dspio_send_scp_message(struct hda_codec *codec,
19231923
* Prepare and send the SCP message to DSP
19241924
* @codec: the HDA codec
19251925
* @mod_id: ID of the DSP module to send the command
1926+
* @src_id: ID of the source
19261927
* @req: ID of request to send to the DSP module
19271928
* @dir: SET or GET
19281929
* @data: pointer to the data to send with the request, request specific

0 commit comments

Comments
 (0)