]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: pcm - Fix regressions with VMware
authorTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 10:51:51 +0000 (12:51 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 22 Jul 2009 10:55:56 +0000 (12:55 +0200)
commit5cec91b61b32e1f5cc7a6f41436405bea531f5b7
treecacc494ab214305e2bc3576c6221a8dd5a63a9ad
parent18f39e1a285ba63869bb4f929709e8a20d5dc749
ALSA: pcm - Fix regressions with VMware

VMware tends to report PCM positions and period updates at utterly
wrong timing.  This screws up the recent PCM core code that tries
to correct the position based on the irq timing.

Now, when a backward irq position is detected, skip the update
instead of rebasing.  (This is almost the old behavior before
2.6.30.)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_lib.c