ALSA: hda - Add jackpoll_ms to struct azx
authorDylan Reid <dgreid@chromium.org>
Fri, 28 Feb 2014 23:41:18 +0000 (15:41 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Mar 2014 10:21:29 +0000 (11:21 +0100)
commit749ee287fc937d8026fb459b7574d39745c0cbb9
treed8f3737c55e424a2e5ac1f65d60b6b9812e6d480
parentf563bf65d9028c58bb0ecea9c8d40d5a57e64b3f
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>
sound/pci/hda/hda_intel.c
sound/pci/hda/hda_priv.h