diff options
author | Jonathan Corbet <corbet@lwn.net> | 2012-03-16 19:14:53 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-03-19 22:16:19 -0300 |
commit | 121bbe254a46e075673e6b9eec5613ea16400ccc (patch) | |
tree | e263df14121003ed7e78eeec82ac3eaa61643fba /mm/prio_tree.c | |
parent | 482d35c41f2efb0408624e222bbc9efc0b3518eb (diff) |
[media] marvell-cam: fix the green screen of death
I had learned through hard experience that dinking around with the DMA
descriptors while the C1_DESC_ENA enable bit was set is a recipe for all
kinds of truly malicious behavior on the hardware's part, regardless of
whether the DMA engine is actually operating at the time. That
notwithstanding, the driver did so dink, resulting in "green frame"
captures and the death of the system in random, spectacular ways.
Move the tweaking of C1_DESC_ENA to the same function that sets the
descriptor so we know that we'll never try to set a descriptor while that
bit is set.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'mm/prio_tree.c')
0 files changed, 0 insertions, 0 deletions