summaryrefslogtreecommitdiff
path: root/sound/pci/echoaudio
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-06-29 16:23:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-27 19:47:38 +0300
commit0287f6374be41e411db4190e028fc577d338478b (patch)
tree90116ada130db5d526a176d2210660c1aeffb389 /sound/pci/echoaudio
parent6ddd404402758aa28d51496ec68d3f28b052cf81 (diff)
downloadlinux-0287f6374be41e411db4190e028fc577d338478b.tar.xz
ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()
commit 62db7152c924e4c060e42b34a69cd39658e8a0dc upstream. vortex_wtdma_bufshift() function does calculate the page index wrongly, first masking then shift, which always results in zero. The proper computation is to first shift, then mask. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/echoaudio')
0 files changed, 0 insertions, 0 deletions