diff options
author | Magnus Damm <magnus.damm@gmail.com> | 2008-07-11 22:59:34 +0200 |
---|---|---|
committer | Magnus Damm <magnus.damm@gmail.com> | 2008-07-11 22:59:34 +0200 |
commit | a7076d98ab8ab8732e18b4dfa844bb32a2bcdefa (patch) | |
tree | d8b09495c6c40c4fbb46feba6186621508f39672 /linux/drivers/media/video/mxb.h | |
parent | aeba0c614e8105f2a9cbf77ff44e622e7949caba (diff) | |
download | mediapointer-dvb-s2-a7076d98ab8ab8732e18b4dfa844bb32a2bcdefa.tar.gz mediapointer-dvb-s2-a7076d98ab8ab8732e18b4dfa844bb32a2bcdefa.tar.bz2 |
soc_camera: Move spinlocks
This patch moves the spinlock handling from soc_camera.c to the actual
camera host driver. The spinlock_alloc/free callbacks are replaced with
code in init_videobuf(). So far all camera host drivers implement their
own spinlock_alloc/free methods anyway, and videobuf_queue_core_init()
BUGs on a NULL spinlock argument, so, new camera host drivers will not
forget to provide a spinlock when initialising their videobuf queues.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de>
---
drivers/media/video/pxa_camera.c | 17 ++++------------
drivers/media/video/soc_camera.c | 39 --------------------------------------
include/media/soc_camera.h | 5 ----
3 files changed, 7 insertions(+), 54 deletions(-)
Diffstat (limited to 'linux/drivers/media/video/mxb.h')
0 files changed, 0 insertions, 0 deletions