From: Philipp Zabel
Date: Fri, 11 Jul 2014 09:36:20 +0000 (-0300)
Subject: [media] coda: add workqueue to serialize hardware commands
X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~175
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32b6f20603a10e8e7ebd1bb17586335fa804a6d5;p=pandora-kernel.git
[media] coda: add workqueue to serialize hardware commands
Using the coda_mutex lock to serialize hardware access would cause
"INFO: possible circular locking dependency detected" lockdep warnings.
Since the possible locking paths are hard to follow, serialize hardware
access with a single workqueue thread. Ultimately the workqueue could
be converted to only do register setup and readout for per-command work
items.
Using the initialized context property, SEQ_END is only queued in
coda_release when needed.
Signed-off-by: Philipp Zabel
Signed-off-by: Kamil Debski
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed