diff options
author | Dylan Reid <dgreid@chromium.org> | 2014-03-01 00:41:23 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-03-01 11:22:30 +0100 |
commit | 679089944317963e9abf51899b48db3b6f424489 (patch) | |
tree | 5429c4b0401f778ad67ea54879a52bc3387be12f /sound/pci/hda/hda_controller.h | |
parent | ALSA: hda - Add hda_controller.c and move pcm ops from hda_intel (diff) | |
download | linux-679089944317963e9abf51899b48db3b6f424489.tar.xz linux-679089944317963e9abf51899b48db3b6f424489.zip |
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.h | 4 |
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 */ |