aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/sr030pc30.c
Commit message (Collapse)AuthorAgeFilesLines
* [media] v4l2-subdev: remove core.s_config and v4l2_i2c_new_subdev_cfg()Hans Verkuil2011-01-191-10/+0
| | | | | | | | | | | | | | | | The core.s_config op was meant for legacy drivers that needed to work with old pre-2.6.26 kernels. This is no longer relevant. Unfortunately, this op was incorrectly called from several drivers. Replace those occurences with proper i2c_board_info structs and call v4l2_i2c_new_subdev_board. After these changes v4l2_i2c_new_subdev_cfg() was no longer used, so remove that function as well. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] drivers/media/video: Update WARN usesJoe Perches2010-12-291-1/+1
| | | | | | | Add missing newlines. Signed-off-by: Joe Perches <joe@perches.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] SR030PC30: Avoid use of uninitialized variablesSylwester Nawrocki2010-10-211-1/+1
| | | | Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] Re: [git:v4l-dvb/v2.6.37] [media] Fix compilation of Siliconfile ↵Hans Verkuil2010-10-211-0/+1
| | | | | | | | | | | | | | | SR030PC30 VGA camera Siliconfile SR030PC30 VGA camera fails to compile with this error: drivers/media/video/sr030pc30.c: In function ‘sr030pc30_probe’: drivers/media/video/sr030pc30.c:834: error: implicit declaration of function ‘kzalloc’ drivers/media/video/sr030pc30.c:834: warning: assignment makes pointer from integer without a cast drivers/media/video/sr030pc30.c: In function ‘sr030pc30_remove’: drivers/media/video/sr030pc30.c:858: error: implicit declaration of function ‘kfree’ Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
* [media] Add driver for Siliconfile SR030PC30 VGA cameraSylwester Nawrocki2010-10-211-0/+893
Add an I2C/v4l2-subdev driver for Siliconfile SR030PC30 VGA camera sensor with Image Signal Processor. SR030PC30 is the low resolution camera sensor on Samsung Aquila boards. Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>