diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2012-11-16 19:03:07 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-22 18:36:53 +0400 |
commit | c4697d7f96f40cdc8f88bcdf4bf13d74ea11c4cc (patch) | |
tree | 8ff45f6260ae50eea7764b2b3db19babe90e2cce /drivers/media/pci/ttpci/budget-av.c | |
parent | aec968326df3c60d140c4bcb00f2ee982acd01cb (diff) | |
download | linux-c4697d7f96f40cdc8f88bcdf4bf13d74ea11c4cc.tar.xz |
[media] vpif_display: protect dma_queue by a spin_lock
The dma_queue list is accessed by both the interrupt handler and by normal
code. It needs to be protected by a lock to prevent possible list corruption.
Corruption has been observed in 'real-life' conditions. Adding this lock made
it go away.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Lad, Prabhakar <prabhakar.lad@ti.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/ttpci/budget-av.c')
0 files changed, 0 insertions, 0 deletions