summaryrefslogtreecommitdiff
path: root/sound/hda/hdac_stream.c
diff options
context:
space:
mode:
authorJeeja KP <jeeja.kp@intel.com>2015-04-12 18:06:13 +0530
committerTakashi Iwai <tiwai@suse.de>2015-04-16 07:31:22 +0200
commit304dad30388d017544bc2e90fe4fefcca94263d3 (patch)
treec94c06f160acc78ea28168e4238efedd4e0c77f8 /sound/hda/hdac_stream.c
parent8f3f600b52b100f254fc16a60af1261d2e4dc239 (diff)
downloadlinux-rpi3-304dad30388d017544bc2e90fe4fefcca94263d3.tar.gz
linux-rpi3-304dad30388d017544bc2e90fe4fefcca94263d3.tar.bz2
linux-rpi3-304dad30388d017544bc2e90fe4fefcca94263d3.zip
ALSA: hda - moved alloc/free stream pages function to controller library
Moved azx_alloc_stream_pages and azx_free_stream_pages to controller library. Signed-off-by: Jeeja KP <jeeja.kp@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/hda/hdac_stream.c')
-rw-r--r--sound/hda/hdac_stream.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/hda/hdac_stream.c b/sound/hda/hdac_stream.c
index 7f6b845d90eb..8bd67a824b5e 100644
--- a/sound/hda/hdac_stream.c
+++ b/sound/hda/hdac_stream.c
@@ -24,8 +24,6 @@ void snd_hdac_stream_init(struct hdac_bus *bus, struct hdac_stream *azx_dev,
int idx, int direction, int tag)
{
azx_dev->bus = bus;
- if (bus->posbuf.area)
- azx_dev->posbuf = (__le32 *)(bus->posbuf.area + idx * 8);
/* offset: SDI0=0x80, SDI1=0xa0, ... SDO3=0x160 */
azx_dev->sd_addr = bus->remap_addr + (0x20 * idx + 0x80);
/* int mask: SDI0=0x01, SDI1=0x02, ... SDO3=0x80 */