ALSA: hda - Move snd page allocation to ops
authorDylan Reid <dgreid@chromium.org>
Fri, 28 Feb 2014 23:41:20 +0000 (15:41 -0800)
committerTakashi Iwai <tiwai@suse.de>
Sat, 1 Mar 2014 10:21:51 +0000 (11:21 +0100)
commitb419b35be45f858830e9e0e44741d8de91b3df07
treefdfd1a9ff1008c8dd3c9e0180fd0dd5aa36f404c
parente62a42aebd7c97977d8ae0bca8de40d26254a1cd
ALSA: hda - Move snd page allocation to ops

Break out the allocation of pages for DMA and PCM buffers to ops in
the chip structure.  This is done to allow for architecture specific
work-arounds to be added.  Currently mark_pages_wc is used by
hda_intel.  This avoids needing to move that x86-specific code to a
common area shared with hda platform drivers.

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