diff options
author | Takashi Iwai | 2016-06-29 15:23:08 +0200 |
---|---|---|
committer | Takashi Iwai | 2016-06-29 15:26:12 +0200 |
commit | 62db7152c924e4c060e42b34a69cd39658e8a0dc (patch) | |
tree | a6c344f3ae277352df3f06b24a8b6eb6c9f30663 /drivers/gpu/drm/vc4/vc4_drv.c | |
parent | ALSA: hda - Add PCI ID for Kabylake-H (diff) | |
download | kernel-qcow2-linux-62db7152c924e4c060e42b34a69cd39658e8a0dc.tar.gz kernel-qcow2-linux-62db7152c924e4c060e42b34a69cd39658e8a0dc.tar.xz kernel-qcow2-linux-62db7152c924e4c060e42b34a69cd39658e8a0dc.zip |
ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()
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>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/gpu/drm/vc4/vc4_drv.c')
0 files changed, 0 insertions, 0 deletions