summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_priv.h
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-02-28 15:41:18 -0800
committerTakashi Iwai <tiwai@suse.de>2014-03-01 11:21:29 +0100
commit749ee287fc937d8026fb459b7574d39745c0cbb9 (patch)
treed8f3737c55e424a2e5ac1f65d60b6b9812e6d480 /sound/pci/hda/hda_priv.h
parentf563bf65d9028c58bb0ecea9c8d40d5a57e64b3f (diff)
downloadlinux-749ee287fc937d8026fb459b7574d39745c0cbb9.tar.gz
linux-749ee287fc937d8026fb459b7574d39745c0cbb9.tar.xz
ALSA: hda - Add jackpoll_ms to struct azx
Keeping a pointer to the jackpoll_ms array in the chip will allow azx_codec_create to be shared between hda_intel and hda_platform drivers. Also modify get_jackpoll_ms to make the jackpoll_ms member optional, this way a platform driver can leave it out if it's not needed. Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_priv.h')
-rw-r--r--sound/pci/hda/hda_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_priv.h b/sound/pci/hda/hda_priv.h
index c231c11d8669..0a56e8e18a5a 100644
--- a/sound/pci/hda/hda_priv.h
+++ b/sound/pci/hda/hda_priv.h
@@ -321,6 +321,7 @@ struct azx {
int capture_streams;
int capture_index_offset;
int num_streams;
+ const int *jackpoll_ms; /* per-card jack poll interval */
/* Register interaction. */
const struct hda_controller_ops *ops;