commit | 62db7152c924e4c060e42b34a69cd39658e8a0dc | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed Jun 29 15:23:08 2016 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Jun 29 15:26:12 2016 +0200 |
tree | a6c344f3ae277352df3f06b24a8b6eb6c9f30663 | |
parent | 6858107e78b4ecb9f244db814ffbdba1b5ce759b [diff] |
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>