aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/video/zc0301/zc0301_pb0330.c
diff options
context:
space:
mode:
authorLuca Risolia <luca.risolia@studio.unibo.it>2007-06-13 15:11:15 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-07-18 14:24:09 -0300
commit4052fcc7ba32ebd54cc907991cb855d909ce9d1c (patch)
tree2f1049c2f26d1067fa4e15d74392013c2c091505 /drivers/media/video/zc0301/zc0301_pb0330.c
parent3b2ae0be9e246974db65a5bf4ccd2de328f3dede (diff)
V4L/DVB (5767): ZC0301 driver updates
- Make the driver depend on V4L2 only (KConfig) - Better and safe locking mechanism of the device structure on open(), close() and disconnect() - Use kref for handling device deallocation - Generic cleanups Signed-off-by: Luca Risolia <luca.risolia@studio.unibo.it> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/zc0301/zc0301_pb0330.c')
-rw-r--r--drivers/media/video/zc0301/zc0301_pb0330.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/zc0301/zc0301_pb0330.c b/drivers/media/video/zc0301/zc0301_pb0330.c
index 5784b1d1491..9519aba3612 100644
--- a/drivers/media/video/zc0301/zc0301_pb0330.c
+++ b/drivers/media/video/zc0301/zc0301_pb0330.c
@@ -157,6 +157,7 @@ static struct zc0301_sensor pb0330 = {
.height = 480,
.pixelformat = V4L2_PIX_FMT_JPEG,
.priv = 8,
+ .colorspace = V4L2_COLORSPACE_JPEG,
},
};