Skip to content
Snippets Groups Projects
Commit 58a8738c authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent d2c5cf88
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment