diff options
author | Takashi Iwai <tiwai@suse.de> | 2011-03-03 14:40:14 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-03-03 14:40:14 +0100 |
commit | cd372fb3befde3bceef3fdcbc550dde50c894e36 (patch) | |
tree | 300fec172522d11408ccd8086f7789cdcd2a8509 /sound/pci/hda/hda_codec.h | |
parent | d207df2df064c19a2cf4eac8f887351fe5ce526e (diff) | |
download | linux-cd372fb3befde3bceef3fdcbc550dde50c894e36.tar.bz2 |
ALSA: hda - Make common input-jack helper functions
Since multiple codec drivers already use the input-jack stuff, let's
make common helper functions to reduce the duplicated codes.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_codec.h')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index fdf8d44f8b6b..e46d5420a9f2 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -866,6 +866,11 @@ struct hda_codec { /* codec-specific additional proc output */ void (*proc_widget_hook)(struct snd_info_buffer *buffer, struct hda_codec *codec, hda_nid_t nid); + +#ifdef CONFIG_SND_HDA_INPUT_JACK + /* jack detection */ + struct snd_array jacks; +#endif }; /* direction */ |