diff options
author | Takashi Iwai <tiwai@suse.de> | 2014-10-29 16:03:58 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-10-29 16:03:58 +0100 |
commit | 95a962c36f6e3c3edb438d1ba59e30964900d16a (patch) | |
tree | f3c12eab3e7196297f0114313f48134ceb2cea98 /sound/pci/hda/hda_jack.h | |
parent | a11e9b168646cfc5d3b8d605d430d7e4ff267d72 (diff) | |
download | linux-95a962c36f6e3c3edb438d1ba59e30964900d16a.tar.gz linux-95a962c36f6e3c3edb438d1ba59e30964900d16a.tar.bz2 linux-95a962c36f6e3c3edb438d1ba59e30964900d16a.zip |
ALSA: hda - More kerneldoc comments
Put more kerneldoc comments to the exported functions.
Still the generic parser code and the HD-audio controller code aren't
covered yet, though.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_jack.h')
-rw-r--r-- | sound/pci/hda/hda_jack.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_jack.h b/sound/pci/hda/hda_jack.h index 13cb375454f6..b279e327a23b 100644 --- a/sound/pci/hda/hda_jack.h +++ b/sound/pci/hda/hda_jack.h @@ -72,6 +72,11 @@ enum { int snd_hda_jack_detect_state(struct hda_codec *codec, hda_nid_t nid); +/** + * snd_hda_jack_detect - Detect the jack + * @codec: the HDA codec + * @nid: pin NID to check jack detection + */ static inline bool snd_hda_jack_detect(struct hda_codec *codec, hda_nid_t nid) { return snd_hda_jack_detect_state(codec, nid) != HDA_JACK_NOT_PRESENT; |