diff options
-rw-r--r-- | sound/pci/hda/hda_intel.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sound/pci/hda/hda_intel.c b/sound/pci/hda/hda_intel.c index ecf277506ad1..72b085ae7d46 100644 --- a/sound/pci/hda/hda_intel.c +++ b/sound/pci/hda/hda_intel.c | |||
@@ -2158,9 +2158,12 @@ static unsigned int azx_get_position(struct azx *chip, | |||
2158 | if (delay < 0) | 2158 | if (delay < 0) |
2159 | delay += azx_dev->bufsize; | 2159 | delay += azx_dev->bufsize; |
2160 | if (delay >= azx_dev->period_bytes) { | 2160 | if (delay >= azx_dev->period_bytes) { |
2161 | snd_printdd("delay %d > period_bytes %d\n", | 2161 | snd_printk(KERN_WARNING SFX |
2162 | delay, azx_dev->period_bytes); | 2162 | "Unstable LPIB (%d >= %d); " |
2163 | delay = 0; /* something is wrong */ | 2163 | "disabling LPIB delay counting\n", |
2164 | delay, azx_dev->period_bytes); | ||
2165 | delay = 0; | ||
2166 | chip->driver_caps &= ~AZX_DCAPS_COUNT_LPIB_DELAY; | ||
2164 | } | 2167 | } |
2165 | azx_dev->substream->runtime->delay = | 2168 | azx_dev->substream->runtime->delay = |
2166 | bytes_to_frames(azx_dev->substream->runtime, delay); | 2169 | bytes_to_frames(azx_dev->substream->runtime, delay); |