diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 17:39:09 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-03-23 17:39:09 -0400 |
commit | e317234975cb7463b8ca21a93bb6862d9dcf113f (patch) | |
tree | 4446fa3a21364f3cba23a22aa2a94027f169d8df /drivers/media/video/noon010pc30.c | |
parent | f37ab0fba271e43edab0e3ae9fe644fcda455402 (diff) | |
parent | 7483d45f0aee3afc0646d185cabd4af9f6cab58c (diff) |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media updates from Mauro Carvalho Chehab:
- V4L2 API additions to better support JPEG compression control
- media API additions to properly support MPEG decoders
- V4L2 API additions for image crop/scaling
- a few other V4L2 API DocBook fixes/improvements
- two new DVB frontend drivers: m88rs2000 and rtl2830
- two new DVB drivers: az6007 and rtl28xxu
- a framework for ISA drivers, that removed lots of common code found
at the ISA radio drivers
- a new FM transmitter driver (radio-keene)
- a GPIO-based IR receiver driver
- a new sensor driver: mt9m032
- some new video drivers: adv7183, blackfin, mx2_emmaprp, sii9234_drv,
vs6624
- several new board additions, driver fixes, improvements and cleanups.
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (295 commits)
[media] update CARDLIST.em28xx
[media] partially reverts changeset fa5527c
[media] stb0899: fix the limits for signal strength values
[media] em28xx: support for 2304:0242 PCTV QuatroStick (510e)
[media] em28xx: support for 2013:0251 PCTV QuatroStick nano (520e)
[media] -EINVAL -> -ENOTTY
[media] gspca - sn9c20x: Cleanup source
[media] gspca - sn9c20x: Simplify register write for capture start/stop
[media] gspca - sn9c20x: Add automatic JPEG compression mechanism
[media] gspca - sn9c20x: Greater delay in case of sensor no response
[media] gspca - sn9c20x: Optimize the code of write sequences
[media] gspca - sn9c20x: Add the JPEG compression quality control
[media] gspca - sn9c20x: Add a delay after Omnivision sensor reset
[media] gspca - sn9c20x: Propagate USB errors to higher level
[media] gspca - sn9c20x: Use the new video control mechanism
[media] gspca - sn9c20x: Fix loss of frame start
[media] gspca - zc3xx: Lack of register 08 value for sensor cs2102k
[media] gspca - ov534_9: Add brightness to OmniVision 5621 sensor
[media] gspca - zc3xx: Add V4L2_CID_JPEG_COMPRESSION_QUALITY control support
[media] pvrusb2: fix 7MHz & 8MHz DVB-T tuner support for HVR1900 rev D1F5
...
Diffstat (limited to 'drivers/media/video/noon010pc30.c')
-rw-r--r-- | drivers/media/video/noon010pc30.c | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/drivers/media/video/noon010pc30.c b/drivers/media/video/noon010pc30.c index 50838bf84204..440c12962bae 100644 --- a/drivers/media/video/noon010pc30.c +++ b/drivers/media/video/noon010pc30.c | |||
@@ -725,8 +725,8 @@ static int noon010_probe(struct i2c_client *client, | |||
725 | 725 | ||
726 | mutex_init(&info->lock); | 726 | mutex_init(&info->lock); |
727 | sd = &info->sd; | 727 | sd = &info->sd; |
728 | strlcpy(sd->name, MODULE_NAME, sizeof(sd->name)); | ||
729 | v4l2_i2c_subdev_init(sd, client, &noon010_ops); | 728 | v4l2_i2c_subdev_init(sd, client, &noon010_ops); |
729 | strlcpy(sd->name, MODULE_NAME, sizeof(sd->name)); | ||
730 | 730 | ||
731 | sd->internal_ops = &noon010_subdev_internal_ops; | 731 | sd->internal_ops = &noon010_subdev_internal_ops; |
732 | sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; | 732 | sd->flags |= V4L2_SUBDEV_FL_HAS_DEVNODE; |
@@ -844,18 +844,7 @@ static struct i2c_driver noon010_i2c_driver = { | |||
844 | .id_table = noon010_id, | 844 | .id_table = noon010_id, |
845 | }; | 845 | }; |
846 | 846 | ||
847 | static int __init noon010_init(void) | 847 | module_i2c_driver(noon010_i2c_driver); |
848 | { | ||
849 | return i2c_add_driver(&noon010_i2c_driver); | ||
850 | } | ||
851 | |||
852 | static void __exit noon010_exit(void) | ||
853 | { | ||
854 | i2c_del_driver(&noon010_i2c_driver); | ||
855 | } | ||
856 | |||
857 | module_init(noon010_init); | ||
858 | module_exit(noon010_exit); | ||
859 | 848 | ||
860 | MODULE_DESCRIPTION("Siliconfile NOON010PC30 camera driver"); | 849 | MODULE_DESCRIPTION("Siliconfile NOON010PC30 camera driver"); |
861 | MODULE_AUTHOR("Sylwester Nawrocki <s.nawrocki@samsung.com>"); | 850 | MODULE_AUTHOR("Sylwester Nawrocki <s.nawrocki@samsung.com>"); |