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)
commita810364a0424c297242c6c66071a42f7675a5568
tree13b3a5645268bc2374fa00b9f2dcce48052a1ba3
parent384a48d71520ca569a63f1e61e51a538bedb16df
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