[media] coda: rework meta counting and add separate lock
authorPhilipp Zabel <p.zabel@pengutronix.de>
Thu, 9 Jul 2015 10:10:21 +0000 (07:10 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 17 Jul 2015 14:19:32 +0000 (11:19 -0300)
commit47f3fa63ee5c0e6bdf9c9d5ed73fc791981336e4
treee0818bb87fee44a6c32a0734d49dfd1f23ead89e
parent2cf251c0c3961bd467e086033c6073ef62b29b02
[media] coda: rework meta counting and add separate lock

Keep count of number of buffer meta structures in the list and use
a separate spinlock for operations on this counted list instead
of reusing the bitstream mutex in some places and none at all in
others.

Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-bit.c
drivers/media/platform/coda/coda-common.c
drivers/media/platform/coda/coda.h
This page took 0.024745 seconds and 5 git commands to generate.