summaryrefslogtreecommitdiff
path: root/sound/pci/hda/hda_controller.h
diff options
context:
space:
mode:
authorDylan Reid <dgreid@chromium.org>2014-03-01 03:41:23 +0400
committerTakashi Iwai <tiwai@suse.de>2014-03-01 14:22:30 +0400
commit679089944317963e9abf51899b48db3b6f424489 (patch)
tree5429c4b0401f778ad67ea54879a52bc3387be12f /sound/pci/hda/hda_controller.h
parent05e848788e30b2ee0b2736b99b6e458b6c7a4e7d (diff)
downloadlinux-679089944317963e9abf51899b48db3b6f424489.tar.xz
ALSA: hda - Pull pages allocation to hda_controller
Pull allocation from first_init to a new function in hda_controller.c. Short term this will allow the dsp loader to be moved as well. In later commits it will allow the same allocation to be used by the platform hda driver. Signed-off-by: Dylan Reid <dgreid@chromium.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_controller.h')
-rw-r--r--sound/pci/hda/hda_controller.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sound/pci/hda/hda_controller.h b/sound/pci/hda/hda_controller.h
index a62cdde93a2b..9ea6b44e033d 100644
--- a/sound/pci/hda/hda_controller.h
+++ b/sound/pci/hda/hda_controller.h
@@ -54,4 +54,8 @@ int setup_bdle(struct azx *chip,
#define dsp_is_locked(dev) 0
#endif
+/* Allocation functions. */
+int azx_alloc_stream_pages(struct azx *chip);
+void azx_free_stream_pages(struct azx *chip);
+
#endif /* __SOUND_HDA_CONTROLLER_H */