media updates for v3.18-rc1
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJUNr9iAAoJEAhfPr2O5OEVSygP/iVpHK7JZCFSvy1ly67gUcIw zeO2q0Exm3WwApchaCNX0b9qB9A6jeaRiJtuqOgR7L8ksYorku7k12g0IrveK8e4 UhwscWw1HkYvTR3JG4Z2a8LoYiUatQCgcknICgjJ12fo2fCg2SnzbGp9jKiLqJew dx1zOgn5Hslqy+PWQULtkLo/XxdlAX8YNUhXU5q5gxCfhciaJ7Kq+tvM9NodobHG u94b10fmOclLug37b+Vpg01pxjqe+X+HbrHzbOsL7dvxW84igqzpyb9+WNH8FGZZ +oSu66faokH8rVxzkPyODT8TSwHuqafVF1IFafsFFJpYYfRWiY0SttMACVMuuB3z m6kVM9pTApmh736xvzB4JP4i/+aIu2qQftYTybQkTpn1AIy2kw8b09pOWbhEgdjl 5CfI7I2iSkSviZXMrIe51znIhdxohF7gEN8PyaPto3N1LHVnHAd7/J43nolSSnke DE0lQGk+NaGFv/MiESiKC8lSiEGzqpMkrxpOIeDZAsKxQ3ihxKai3kqAYYiPt2+n 2HVhLsmfMqdd23DGSf7LjhhLqjXKhEC/+LDsLl105keRYLN/TYZuQxieJEDikRF/ NLJcuuXUQkcsdgrAChAonu1K3roAsgZ8E6BP+814CWZ5LM4xW0kQqqKN6S88eKx2 HcIz2xwveR6sZBNZE7Kl =DUbD -----END PGP SIGNATURE----- Merge tag 'media/v3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media Pull media updates from Mauro Carvalho Chehab: - new IR driver: hix5hd2-ir - the virtual test driver (vivi) was replaced by vivid, with has an almost complete set of features to emulate most v4l2 devices and properly test all sorts of userspace apps - the as102 driver had several bugs fixed and was properly split into a frontend and a core driver. With that, it got promoted from staging into mainstream - one new CI driver got added for CIMaX SP2/SP2HF (sp2 driver) - one new frontend driver for Toshiba ISDB-T/ISDB-S demod (tc90522) - one new PCI driver for ISDB-T/ISDB-S (pt3 driver) - saa7134 driver got support for go7007-based devices - added a new PCI driver for Techwell 68xx chipsets (tw68) - a new platform driver was added (coda) - new tuner drivers: mxl301rf and qm1d1c0042 - a new DVB USB driver was added for DVBSky S860 & similar devices - added a new SDR driver (hackrf) - usbtv got audio support - several platform drivers are now compiled with COMPILE_TEST - a series of compiler fixup patches, making sparse/spatch happier with the media stuff and removing several warnings, especially on those platform drivers that didn't use to compile on x86 - Support for several new modern devices got added - lots of other fixes, improvements and cleanups * tag 'media/v3.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (544 commits) [media] ir-hix5hd2: fix build on c6x arch [media] pt3: fix DTV FE I2C driver load error paths Revert "[media] media: em28xx - remove reset_resume interface" [media] exynos4-is: fix some warnings when compiling on arm64 [media] usb drivers: use %zu instead of %zd [media] pci drivers: use %zu instead of %zd [media] dvb-frontends: use %zu instead of %zd [media] s5p-mfc: Fix several printk warnings [media] s5p_mfc_opr: Fix warnings [media] ti-vpe: Fix typecast [media] s3c-camif: fix dma_addr_t printks [media] s5p_mfc_opr_v6: get rid of warnings when compiled with 64 bits [media] s5p_mfc_opr_v5: Fix lots of warnings on x86_64 [media] em28xx: Fix identation [media] drxd: remove a dead code [media] saa7146: remove return after BUG() [media] cx88: remove return after BUG() [media] cx88: fix cards table CodingStyle [media] radio-sf16fmr2: declare some structs as static [media] radio-sf16fmi: declare pnp_attached as static ...
This commit is contained in:
		
				commit
				
					
						4d9708ea5e
					
				
			
		
					 474 changed files with 36226 additions and 13063 deletions
				
			
		|  | @ -355,6 +355,7 @@ header-y += serio.h | |||
| header-y += shm.h | ||||
| header-y += signal.h | ||||
| header-y += signalfd.h | ||||
| header-y += smiapp.h | ||||
| header-y += snmp.h | ||||
| header-y += sock_diag.h | ||||
| header-y += socket.h | ||||
|  |  | |||
							
								
								
									
										29
									
								
								include/uapi/linux/smiapp.h
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								include/uapi/linux/smiapp.h
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,29 @@ | |||
| /*
 | ||||
|  * include/uapi/linux/smiapp.h | ||||
|  * | ||||
|  * Generic driver for SMIA/SMIA++ compliant camera modules | ||||
|  * | ||||
|  * Copyright (C) 2014 Intel Corporation | ||||
|  * Contact: Sakari Ailus <sakari.ailus@iki.fi> | ||||
|  * | ||||
|  * This program is free software; you can redistribute it and/or | ||||
|  * modify it under the terms of the GNU General Public License | ||||
|  * version 2 as published by the Free Software Foundation. | ||||
|  * | ||||
|  * This program is distributed in the hope that it will be useful, but | ||||
|  * WITHOUT ANY WARRANTY; without even the implied warranty of | ||||
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU | ||||
|  * General Public License for more details. | ||||
|  * | ||||
|  */ | ||||
| 
 | ||||
| #ifndef __UAPI_LINUX_SMIAPP_H_ | ||||
| #define __UAPI_LINUX_SMIAPP_H_ | ||||
| 
 | ||||
| #define V4L2_SMIAPP_TEST_PATTERN_MODE_DISABLED			0 | ||||
| #define V4L2_SMIAPP_TEST_PATTERN_MODE_SOLID_COLOUR		1 | ||||
| #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS		2 | ||||
| #define V4L2_SMIAPP_TEST_PATTERN_MODE_COLOUR_BARS_GREY		3 | ||||
| #define V4L2_SMIAPP_TEST_PATTERN_MODE_PN9			4 | ||||
| 
 | ||||
| #endif /* __UAPI_LINUX_SMIAPP_H_ */ | ||||
|  | @ -746,6 +746,8 @@ enum v4l2_auto_focus_range { | |||
| 	V4L2_AUTO_FOCUS_RANGE_INFINITY		= 3, | ||||
| }; | ||||
| 
 | ||||
| #define V4L2_CID_PAN_SPEED			(V4L2_CID_CAMERA_CLASS_BASE+32) | ||||
| #define V4L2_CID_TILT_SPEED			(V4L2_CID_CAMERA_CLASS_BASE+33) | ||||
| 
 | ||||
| /* FM Modulator class control IDs */ | ||||
| 
 | ||||
|  | @ -865,6 +867,10 @@ enum v4l2_jpeg_chroma_subsampling { | |||
| #define V4L2_CID_VBLANK				(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 1) | ||||
| #define V4L2_CID_HBLANK				(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 2) | ||||
| #define V4L2_CID_ANALOGUE_GAIN			(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 3) | ||||
| #define V4L2_CID_TEST_PATTERN_RED		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 4) | ||||
| #define V4L2_CID_TEST_PATTERN_GREENR		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 5) | ||||
| #define V4L2_CID_TEST_PATTERN_BLUE		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 6) | ||||
| #define V4L2_CID_TEST_PATTERN_GREENB		(V4L2_CID_IMAGE_SOURCE_CLASS_BASE + 7) | ||||
| 
 | ||||
| 
 | ||||
| /* Image processing controls */ | ||||
|  |  | |||
|  | @ -21,17 +21,8 @@ | |||
| #ifndef _V4L2_DV_TIMINGS_H | ||||
| #define _V4L2_DV_TIMINGS_H | ||||
| 
 | ||||
| #if __GNUC__ < 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ < 6)) | ||||
| /* Sadly gcc versions older than 4.6 have a bug in how they initialize
 | ||||
|    anonymous unions where they require additional curly brackets. | ||||
|    This violates the C1x standard. This workaround adds the curly brackets | ||||
|    if needed. */ | ||||
| #define V4L2_INIT_BT_TIMINGS(_width, args...) \ | ||||
| 	{ .bt = { _width , ## args } } | ||||
| #else | ||||
| #define V4L2_INIT_BT_TIMINGS(_width, args...) \ | ||||
| 	.bt = { _width , ## args } | ||||
| #endif | ||||
| 
 | ||||
| /* CEA-861-E timings (i.e. standard HDTV timings) */ | ||||
| 
 | ||||
|  |  | |||
|  | @ -79,6 +79,7 @@ | |||
| /*  Four-character-code (FOURCC) */ | ||||
| #define v4l2_fourcc(a, b, c, d)\ | ||||
| 	((__u32)(a) | ((__u32)(b) << 8) | ((__u32)(c) << 16) | ((__u32)(d) << 24)) | ||||
| #define v4l2_fourcc_be(a, b, c, d)	(v4l2_fourcc(a, b, c, d) | (1 << 31)) | ||||
| 
 | ||||
| /*
 | ||||
|  *	E N U M S | ||||
|  | @ -307,6 +308,8 @@ struct v4l2_pix_format { | |||
| #define V4L2_PIX_FMT_XRGB555 v4l2_fourcc('X', 'R', '1', '5') /* 16  XRGB-1-5-5-5  */ | ||||
| #define V4L2_PIX_FMT_RGB565  v4l2_fourcc('R', 'G', 'B', 'P') /* 16  RGB-5-6-5     */ | ||||
| #define V4L2_PIX_FMT_RGB555X v4l2_fourcc('R', 'G', 'B', 'Q') /* 16  RGB-5-5-5 BE  */ | ||||
| #define V4L2_PIX_FMT_ARGB555X v4l2_fourcc_be('A', 'R', '1', '5') /* 16  ARGB-5-5-5 BE */ | ||||
| #define V4L2_PIX_FMT_XRGB555X v4l2_fourcc_be('X', 'R', '1', '5') /* 16  XRGB-5-5-5 BE */ | ||||
| #define V4L2_PIX_FMT_RGB565X v4l2_fourcc('R', 'G', 'B', 'R') /* 16  RGB-5-6-5 BE  */ | ||||
| #define V4L2_PIX_FMT_BGR666  v4l2_fourcc('B', 'G', 'R', 'H') /* 18  BGR-6-6-6	  */ | ||||
| #define V4L2_PIX_FMT_BGR24   v4l2_fourcc('B', 'G', 'R', '3') /* 24  BGR-8-8-8     */ | ||||
|  | @ -1285,11 +1288,11 @@ struct v4l2_ext_control { | |||
| 	union { | ||||
| 		__s32 value; | ||||
| 		__s64 value64; | ||||
| 		char *string; | ||||
| 		__u8 *p_u8; | ||||
| 		__u16 *p_u16; | ||||
| 		__u32 *p_u32; | ||||
| 		void *ptr; | ||||
| 		char __user *string; | ||||
| 		__u8 __user *p_u8; | ||||
| 		__u16 __user *p_u16; | ||||
| 		__u32 __user *p_u32; | ||||
| 		void __user *ptr; | ||||
| 	}; | ||||
| } __attribute__ ((packed)); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Linus Torvalds
				Linus Torvalds