summary refs log tree commit diff
path: root/sound/pci/hda/hda_generic.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-03-10 21:03:09 +0100
committerTakashi Iwai <tiwai@suse.de>2016-04-26 09:55:42 +0200
commit58a8738cfcdec389b3764a636303f97b57f85193 (patch)
tree9161a56c1a4e2f588aa4117575d6cd4d544b5153 /sound/pci/hda/hda_generic.c
parentd2c5cf88d5282de258f4eb6ab40040b80a075cd8 (diff)
downloadlinux-58a8738cfcdec389b3764a636303f97b57f85193.tar.gz
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>
Diffstat (limited to 'sound/pci/hda/hda_generic.c')
0 files changed, 0 insertions, 0 deletions