]> 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)
commit3ad194e262d70a2dc1218088118fcccea53a5fff
tree13b3a5645268bc2374fa00b9f2dcce48052a1ba3
parent3e230a190843f02c5adf77862332f91c060e32b0
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