]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf0946f0dd4b53210136a9a5b85bcf45e1ff627cd
treed8f3737c55e424a2e5ac1f65d60b6b9812e6d480
parentf54f33ed3a3474d061026e900b89032bad4e792a
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