]> git.itanic.dy.fi Git - linux-stable/commit
[media] videobuf-dma-contig: restore buffer mapping for uncached bufers
authorLad, Prabhakar <prabhakar.lad@ti.com>
Fri, 22 Jun 2012 09:19:28 +0000 (06:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 21:52:56 +0000 (18:52 -0300)
commit4099040eaaa4fe543c4e915b8cab51b1d843edee
tree6d91bf61b5fe963240d69fd0252e4c69e5ddc677
parent4faba767c6243b43ad975406fe027be7394e4591
[media] videobuf-dma-contig: restore buffer mapping for uncached bufers

from commit a8f3c203e19b702fa5e8e83a9b6fb3c5a6d1cce4
restore the mapping scheme for uncached buffers,
which was changed in a common scheme for cached and uncached.
This apparently was wrong, and was probably intended only for cached buffers.
the fix fixes the crash observed while mapping uncached buffers.

Signed-off-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Hadli, Manjunath <manjunath.hadli@ti.com>
Acked-by: Federico Vaga <federico.vaga@gmail.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf-dma-contig.c