]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hda - Handle -1 as invalid position, too
authorTakashi Iwai <tiwai@suse.de>
Tue, 7 Jun 2011 10:23:23 +0000 (12:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 7 Jun 2011 10:23:23 +0000 (12:23 +0200)
commitc5883006ace530c81882e2bb3d869eb987f71de7
tree13b3a5645268bc2374fa00b9f2dcce48052a1ba3
parente3750c90f4b8936ec6d97a1a1ee8bb5cf25e4631
ALSA: hda - Handle -1 as invalid position, too

When reading from the position-buffer results in -1, handle as it's
invalid and falls back to LPIB mode as well as 0.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/hda_intel.c