]> git.baikalelectronics.ru Git - kernel.git/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)
commit97ea673356ea182a6ed1d40c97ac1c9b3dd47370
tree6d91bf61b5fe963240d69fd0252e4c69e5ddc677
parent6b7c896c026c886df64e232dcc64822e1c6e830e
[media] videobuf-dma-contig: restore buffer mapping for uncached bufers

from commit 52e4bab6fb7a854acc40e7547c04bc7a6c668b6b
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