Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALSA: au88x0: Fix calculation in vortex_wtdma_bufshift()
commit 62db715 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>
- Loading branch information