From: Magnus Damm Date: Fri, 11 Jul 2008 23:59:34 +0000 (-0300) Subject: V4L/DVB (8338): soc_camera: Move spinlocks X-Git-Tag: v2.6.27-rc1~966^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a034d1b76b173b37f9a3646aa8f50a2c14a0f3ea;p=pandora-kernel.git V4L/DVB (8338): 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 Signed-off-by: Guennadi Liakhovetski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed