diff options
author | Krishna Reddy <vdumpa@nvidia.com> | 2013-09-24 14:10:31 -0700 |
---|---|---|
committer | Ajay Nandakumar <anandakumarm@nvidia.com> | 2013-10-01 13:45:50 +0530 |
commit | 1958429aefdf8e60cb9eb75ae867a9590b75347a (patch) | |
tree | 83eba312fc4145b23ba4bb4bce12fa1ff3722c62 /sound/pci | |
parent | 66f7d92e00b1fe81a89478899714c5d957bb46f9 (diff) |
sound: pci: hda: fix compilation error
fix compilation error and warnings.
Change-Id: I3edc04b7677c23282bf21bfd20631d88ea660b29
Signed-off-by: Krishna Reddy <vdumpa@nvidia.com>
Reviewed-on: http://git-master/r/278501
Reviewed-by: Alex Waterman <alexw@nvidia.com>
(cherry picked from commit 16aec429bf803f63df02b6da4f8788cf69e12fa3)
Signed-off-by: Ajay Nandakumar <anandakumarm@nvidia.com>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/hda/hda_intel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index acac101c0038..6d088dad2aa7 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c @@ -2837,9 +2837,9 @@ azx_attach_pcm_stream(struct hda_bus *bus, struct hda_codec *codec, err = (int)chip->sgt; goto sgt_fail; } - chip->paddr = sg_dma_address(chip->sgt); + chip->paddr = sg_dma_address(chip->sgt->sgl); snd_printk(KERN_DEBUG SFX - "paddr=%08x vaddr=%08x\n", chip->paddr, chip->vaddr); + "paddr=%08llx vaddr=%p\n", chip->paddr, chip->vaddr); substream->dma_buffer.area = chip->vaddr; substream->dma_buffer.addr = chip->paddr; substream->dma_buffer.bytes = size; |