diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-11-27 15:27:37 -0500 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-11-27 15:27:37 -0500 |
| commit | e23739b4ade80a3a7f87198f008f6c44a7cbc9fd (patch) | |
| tree | 4d65299a5c76f9fdbed961c7977c909737d0d9f5 /include | |
| parent | 2844a48706e54ddda4a04269dba4250b42f449de (diff) | |
| parent | 86163adb8125a4ce85e0b23a50be82bd8c0daf95 (diff) | |
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
Pull media fixes from Mauro Carvalho Chehab:
"For some media fixes:
- dvb_usb_v2: some fixes at the core
- Some fixes on some embedded drivers: soc_camera, adv7604, omap3isp,
exynos/s5p
- Several Exynos4/5 camera fixes
- a fix at stv0900 driver
- a few USB ID additions to detect more variants of rtl28xxu-based
sticks"
* 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media: (25 commits)
[media] rtl28xxu: 0ccd:00d7 TerraTec Cinergy T Stick+
[media] rtl28xxu: 1d19:1102 Dexatek DK mini DVB-T Dongle
[media] mt9v022: fix the V4L2_CID_EXPOSURE control
[media] mx2_camera: fix missing unlock on error in mx2_start_streaming()
[media] media: omap1_camera: fix const cropping related warnings
[media] media: mx1_camera: use the default .set_crop() implementation
[media] media: mx2_camera: fix const cropping related warnings
[media] media: mx3_camera: fix const cropping related warnings
[media] media: pxa_camera: fix const cropping related warnings
[media] media: sh_mobile_ceu_camera: fix const cropping related warnings
[media] media: sh_vou: fix const cropping related warnings
[media] adv7604: restart STDI once if format is not found
[media] adv7604: use presets where possible
[media] adv7604: Replace prim_mode by mode
[media] adv7604: cleanup references
[media] dvb_usb_v2: switch interruptible mutex to normal
[media] dvb_usb_v2: fix pid_filter callback error logging
[media] exynos-gsc: change driver compatible string
[media] omap3isp: Fix warning caused by bad subdev events operations prototypes
[media] omap3isp: video: Fix warning caused by bad vidioc_s_crop prototype
...
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/adv7604.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/include/media/adv7604.h b/include/media/adv7604.h index 171b957db743..dc004bc926c9 100644 --- a/include/media/adv7604.h +++ b/include/media/adv7604.h | |||
| @@ -40,14 +40,6 @@ enum adv7604_op_ch_sel { | |||
| 40 | ADV7604_OP_CH_SEL_RBG = 5, | 40 | ADV7604_OP_CH_SEL_RBG = 5, |
| 41 | }; | 41 | }; |
| 42 | 42 | ||
| 43 | /* Primary mode (IO register 0x01, [3:0]) */ | ||
| 44 | enum adv7604_prim_mode { | ||
| 45 | ADV7604_PRIM_MODE_COMP = 1, | ||
| 46 | ADV7604_PRIM_MODE_RGB = 2, | ||
| 47 | ADV7604_PRIM_MODE_HDMI_COMP = 5, | ||
| 48 | ADV7604_PRIM_MODE_HDMI_GR = 6, | ||
| 49 | }; | ||
| 50 | |||
| 51 | /* Input Color Space (IO register 0x02, [7:4]) */ | 43 | /* Input Color Space (IO register 0x02, [7:4]) */ |
| 52 | enum adv7604_inp_color_space { | 44 | enum adv7604_inp_color_space { |
| 53 | ADV7604_INP_COLOR_SPACE_LIM_RGB = 0, | 45 | ADV7604_INP_COLOR_SPACE_LIM_RGB = 0, |
| @@ -103,9 +95,6 @@ struct adv7604_platform_data { | |||
| 103 | /* Bus rotation and reordering */ | 95 | /* Bus rotation and reordering */ |
| 104 | enum adv7604_op_ch_sel op_ch_sel; | 96 | enum adv7604_op_ch_sel op_ch_sel; |
| 105 | 97 | ||
| 106 | /* Primary mode */ | ||
| 107 | enum adv7604_prim_mode prim_mode; | ||
| 108 | |||
| 109 | /* Select output format */ | 98 | /* Select output format */ |
| 110 | enum adv7604_op_format_sel op_format_sel; | 99 | enum adv7604_op_format_sel op_format_sel; |
| 111 | 100 | ||
| @@ -142,6 +131,16 @@ struct adv7604_platform_data { | |||
| 142 | u8 i2c_vdp; | 131 | u8 i2c_vdp; |
| 143 | }; | 132 | }; |
| 144 | 133 | ||
| 134 | /* | ||
| 135 | * Mode of operation. | ||
| 136 | * This is used as the input argument of the s_routing video op. | ||
| 137 | */ | ||
| 138 | enum adv7604_mode { | ||
| 139 | ADV7604_MODE_COMP, | ||
| 140 | ADV7604_MODE_GR, | ||
| 141 | ADV7604_MODE_HDMI, | ||
| 142 | }; | ||
| 143 | |||
| 145 | #define V4L2_CID_ADV_RX_ANALOG_SAMPLING_PHASE (V4L2_CID_DV_CLASS_BASE + 0x1000) | 144 | #define V4L2_CID_ADV_RX_ANALOG_SAMPLING_PHASE (V4L2_CID_DV_CLASS_BASE + 0x1000) |
| 146 | #define V4L2_CID_ADV_RX_FREE_RUN_COLOR_MANUAL (V4L2_CID_DV_CLASS_BASE + 0x1001) | 145 | #define V4L2_CID_ADV_RX_FREE_RUN_COLOR_MANUAL (V4L2_CID_DV_CLASS_BASE + 0x1001) |
| 147 | #define V4L2_CID_ADV_RX_FREE_RUN_COLOR (V4L2_CID_DV_CLASS_BASE + 0x1002) | 146 | #define V4L2_CID_ADV_RX_FREE_RUN_COLOR (V4L2_CID_DV_CLASS_BASE + 0x1002) |
