]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita3da57307614c338772419dd9653d02d8f701831
treefdfd1a9ff1008c8dd3c9e0180fd0dd5aa36f404c
parent765890088a424933b386c0e38e8e64059d366b20
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