summaryrefslogtreecommitdiffstats
path: root/lib/usercopy.c
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2014-07-11 06:36:20 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-22 11:56:55 -0300
commit32b6f20603a10e8e7ebd1bb17586335fa804a6d5 (patch)
tree5f6e05d69bcf042473096a78979350569accd325 /lib/usercopy.c
parent52c41676f8a317724fbd603646d512278cb00653 (diff)
downloadlinux-32b6f20603a10e8e7ebd1bb17586335fa804a6d5.tar.bz2
[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 <p.zabel@pengutronix.de> Signed-off-by: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions