commit | c4697d7f96f40cdc8f88bcdf4bf13d74ea11c4cc | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hans.verkuil@cisco.com> | Fri Nov 16 12:03:07 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Nov 22 12:36:53 2012 -0200 |
tree | 8ff45f6260ae50eea7764b2b3db19babe90e2cce | |
parent | aec968326df3c60d140c4bcb00f2ee982acd01cb [diff] |
[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>