summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/sr030pc30.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-29 17:07:22 (GMT)
committerTakashi Iwai <tiwai@suse.de>2013-01-29 17:18:00 (GMT)
commit9ddf1aeb2134e72275c97a2c6ff2e3eb04f2f27a (patch)
tree887be5729e4e3987888ff554677241aea463a0c1 /drivers/media/i2c/sr030pc30.c
parentf748abcc5bf62de007019d841f7caba81cc3d673 (diff)
downloadlinux-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/media/i2c/sr030pc30.c')
0 files changed, 0 insertions, 0 deletions