diff options
-rw-r--r-- | sound/pci/hda/hda_intel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index 45cd02f1ad88..5f2d05a8d0eb 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -1866,7 +1866,7 @@ static unsigned int azx_via_get_position(struct azx *chip, | |||
1866 | unsigned int fifo_size; | 1866 | unsigned int fifo_size; |
1867 | 1867 | ||
1868 | link_pos = azx_sd_readl(azx_dev, SD_LPIB); | 1868 | link_pos = azx_sd_readl(azx_dev, SD_LPIB); |
1869 | if (azx_dev->index >= 4) { | 1869 | if (azx_dev->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { |
1870 | /* Playback, no problem using link position */ | 1870 | /* Playback, no problem using link position */ |
1871 | return link_pos; | 1871 | return link_pos; |
1872 | } | 1872 | } |