Skip to content

Commit

Permalink
ASoC: fsl-asoc-card: Add comment for mclk in the codec_priv
Browse files Browse the repository at this point in the history
Otherwise a warning will be detected as below:
warning: Function parameter or member 'mclk' not described in
'codec_priv'

Fixes: 1075df4 ("ASoC: fsl-asoc-card: add nau8822 support")
Signed-off-by: Hui Wang <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
jason77-wang authored and broonie committed Oct 12, 2023
1 parent 47c0949 commit fbfe616
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sound/soc/fsl/fsl-asoc-card.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@

/**
* struct codec_priv - CODEC private data
* @mclk: Main clock of the CODEC
* @mclk_freq: Clock rate of MCLK
* @free_freq: Clock rate of MCLK for hw_free()
* @mclk_id: MCLK (or main clock) id for set_sysclk()
Expand Down

0 comments on commit fbfe616

Please sign in to comment.