diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-01-29 17:07:22 (GMT) |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-01-29 17:18:00 (GMT) |
commit | 9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a (patch) | |
tree | 887be5729e4e3987888ff554677241aea463a0c1 /drivers/tty/serial/samsung.c | |
parent | f748abcc5bf62de007019d841f7caba81cc3d673 (diff) | |
download | linux-fsl-qoriq-9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a.tar.xz |
ALSA: hda - Fix non-snoop page handling
For non-snoop mode, we fiddle with the page attributes of CORB/RIRB
and the position buffer, but also the ring buffers. The problem is
that the current code blindly assumes that the buffer is contiguous.
However, the ring buffers may be SG-buffers, thus a wrong vmapped
address is passed there, leading to Oops.
This patch fixes the handling for SG-buffers.
Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=800701
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/tty/serial/samsung.c')
0 files changed, 0 insertions, 0 deletions