commit | 58a8738cfcdec389b3764a636303f97b57f85193 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Mar 10 21:03:09 2016 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Tue Apr 26 09:55:42 2016 +0200 |
tree | 9161a56c1a4e2f588aa4117575d6cd4d544b5153 | |
parent | d2c5cf88d5282de258f4eb6ab40040b80a075cd8 [diff] |
ALSA: au88x0: Fix overlapped PCM pointer au88x0 hardware seems returning the current pointer at the buffer boundary instead of going back to zero. This results in spewing warnings from PCM core. This patch corrects the return value from the pointer callback within the proper value range, just returning zero if the position is equal or above the buffer size. Signed-off-by: Takashi Iwai <tiwai@suse.de>