summaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/hda_intel.c
diff options
context:
space:
mode:
authorTakashi Iwai2015-04-16 12:14:17 +0200
committerTakashi Iwai2015-04-16 12:14:17 +0200
commit1604eeee8899e3b8421ba41b1abcdc48501bc0a0 (patch)
tree020811d6abac72d6720df44c3ca9c78ba44cff91 /sound/pci/hda/hda_intel.c
parentALSA: hda/tegra - Fix build error and warning (diff)
downloadkernel-qcow2-linux-1604eeee8899e3b8421ba41b1abcdc48501bc0a0.tar.gz
kernel-qcow2-linux-1604eeee8899e3b8421ba41b1abcdc48501bc0a0.tar.xz
kernel-qcow2-linux-1604eeee8899e3b8421ba41b1abcdc48501bc0a0.zip
ALSA: hda - Drop azx_sd_read*/write*() macros
They are no longer used (only one place which can be replaced with a proper helper function). Let's drop. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/hda_intel.c')
-rw-r--r--sound/pci/hda/hda_intel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c
index 8a1471851ca7..2b823d4ad888 100644
--- a/sound/pci/hda/hda_intel.c
+++ b/sound/pci/hda/hda_intel.c
@@ -680,7 +680,7 @@ static unsigned int azx_via_get_position(struct azx *chip,
unsigned int mod_link_pos, mod_dma_pos, mod_mini_pos;
unsigned int fifo_size;
- link_pos = azx_sd_readl(chip, azx_dev, SD_LPIB);
+ link_pos = snd_hdac_stream_get_pos_lpib(azx_stream(azx_dev));
if (azx_dev->core.substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
/* Playback, no problem using link position */
return link_pos;