summaryrefslogtreecommitdiff
path: root/sound/pci/au88x0/au88x0_mpu401.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2016-06-29 15:23:08 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-07-27 09:47:38 -0700
commit0287f6374be41e411db4190e028fc577d338478b (patch)
tree90116ada130db5d526a176d2210660c1aeffb389 /sound/pci/au88x0/au88x0_mpu401.c
parent6ddd404402758aa28d51496ec68d3f28b052cf81 (diff)
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/au88x0/au88x0_mpu401.c')
0 files changed, 0 insertions, 0 deletions