diff options
author | Jonathan Corbet <corbet@lwn.net> | 2015-08-25 03:14:48 -0400 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-08-28 14:07:16 -0400 |
commit | 628536ea0627e71da654bd34b1942c85832dbdba (patch) | |
tree | 090475fe2bd567c13c049a48bb466f2a99d7dca5 /include/sound | |
parent | 7d1442b4c4142d94a83451d4e7a11db8aee132ab (diff) |
ASoC: Clean up docbook warnings
A number of functions and structures in the sound subsystem had incomplete
and/or obsolete DocBook comments, leading to warnings when the docs were
built. Correct those comments so that we can enjoy our audio in the
absence of warning noise.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/soc.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/sound/soc.h b/include/sound/soc.h index 93df8bf9d54a..4537e81eeeda 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h | |||
@@ -619,6 +619,7 @@ int snd_soc_put_strobe(struct snd_kcontrol *kcontrol, | |||
619 | * @pin: name of the pin to update | 619 | * @pin: name of the pin to update |
620 | * @mask: bits to check for in reported jack status | 620 | * @mask: bits to check for in reported jack status |
621 | * @invert: if non-zero then pin is enabled when status is not reported | 621 | * @invert: if non-zero then pin is enabled when status is not reported |
622 | * @list: internal list entry | ||
622 | */ | 623 | */ |
623 | struct snd_soc_jack_pin { | 624 | struct snd_soc_jack_pin { |
624 | struct list_head list; | 625 | struct list_head list; |
@@ -635,7 +636,7 @@ struct snd_soc_jack_pin { | |||
635 | * @jack_type: type of jack that is expected for this voltage | 636 | * @jack_type: type of jack that is expected for this voltage |
636 | * @debounce_time: debounce_time for jack, codec driver should wait for this | 637 | * @debounce_time: debounce_time for jack, codec driver should wait for this |
637 | * duration before reading the adc for voltages | 638 | * duration before reading the adc for voltages |
638 | * @:list: list container | 639 | * @list: internal list entry |
639 | */ | 640 | */ |
640 | struct snd_soc_jack_zone { | 641 | struct snd_soc_jack_zone { |
641 | unsigned int min_mv; | 642 | unsigned int min_mv; |
@@ -651,12 +652,12 @@ struct snd_soc_jack_zone { | |||
651 | * @gpio: legacy gpio number | 652 | * @gpio: legacy gpio number |
652 | * @idx: gpio descriptor index within the function of the GPIO | 653 | * @idx: gpio descriptor index within the function of the GPIO |
653 | * consumer device | 654 | * consumer device |
654 | * @gpiod_dev GPIO consumer device | 655 | * @gpiod_dev: GPIO consumer device |
655 | * @name: gpio name. Also as connection ID for the GPIO consumer | 656 | * @name: gpio name. Also as connection ID for the GPIO consumer |
656 | * device function name lookup | 657 | * device function name lookup |
657 | * @report: value to report when jack detected | 658 | * @report: value to report when jack detected |
658 | * @invert: report presence in low state | 659 | * @invert: report presence in low state |
659 | * @debouce_time: debouce time in ms | 660 | * @debounce_time: debounce time in ms |
660 | * @wake: enable as wake source | 661 | * @wake: enable as wake source |
661 | * @jack_status_check: callback function which overrides the detection | 662 | * @jack_status_check: callback function which overrides the detection |
662 | * to provide more complex checks (eg, reading an | 663 | * to provide more complex checks (eg, reading an |
@@ -672,11 +673,13 @@ struct snd_soc_jack_gpio { | |||
672 | int debounce_time; | 673 | int debounce_time; |
673 | bool wake; | 674 | bool wake; |
674 | 675 | ||
676 | /* private: */ | ||
675 | struct snd_soc_jack *jack; | 677 | struct snd_soc_jack *jack; |
676 | struct delayed_work work; | 678 | struct delayed_work work; |
677 | struct gpio_desc *desc; | 679 | struct gpio_desc *desc; |
678 | 680 | ||
679 | void *data; | 681 | void *data; |
682 | /* public: */ | ||
680 | int (*jack_status_check)(void *data); | 683 | int (*jack_status_check)(void *data); |
681 | }; | 684 | }; |
682 | 685 | ||
@@ -1319,7 +1322,7 @@ static inline struct snd_soc_dapm_context *snd_soc_codec_get_dapm( | |||
1319 | 1322 | ||
1320 | /** | 1323 | /** |
1321 | * snd_soc_dapm_init_bias_level() - Initialize CODEC DAPM bias level | 1324 | * snd_soc_dapm_init_bias_level() - Initialize CODEC DAPM bias level |
1322 | * @dapm: The CODEC for which to initialize the DAPM bias level | 1325 | * @codec: The CODEC for which to initialize the DAPM bias level |
1323 | * @level: The DAPM level to initialize to | 1326 | * @level: The DAPM level to initialize to |
1324 | * | 1327 | * |
1325 | * Initializes the CODEC DAPM bias level. See snd_soc_dapm_init_bias_level(). | 1328 | * Initializes the CODEC DAPM bias level. See snd_soc_dapm_init_bias_level(). |