diff options
author | Sakari Ailus <sakari.ailus@nokia.com> | 2007-08-30 08:20:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-10-09 21:14:40 -0400 |
commit | 2060955748dff6280cd211b68c92d9a99d1c78f9 (patch) | |
tree | 74c83214c007b1dace959b02ac78b7e21f82a758 /drivers/media/video/tcm825x.h | |
parent | 768f4bd3d6a88c13a4099451aa85ae75c9061316 (diff) |
V4L/DVB (6220): TCM825x: Add support for vidioc_int_g_ifparm call, small cleanups
vidioc_int_g_ifparm returns platform-specific information about the
interface settings used by the sensor. Support for [gs]_ext_clk has
been removed.
Fix indentation and remove useless & characters.
Remove experiment for typechecking slave callback function arguments.
Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/tcm825x.h')
-rw-r--r-- | drivers/media/video/tcm825x.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/tcm825x.h b/drivers/media/video/tcm825x.h index d6471ec40bc5..966765b66b3a 100644 --- a/drivers/media/video/tcm825x.h +++ b/drivers/media/video/tcm825x.h | |||
@@ -163,6 +163,9 @@ enum pixel_format { YUV422 = 0, RGB565 }; | |||
163 | #define NUM_IMAGE_SIZES 6 | 163 | #define NUM_IMAGE_SIZES 6 |
164 | #define NUM_PIXEL_FORMATS 2 | 164 | #define NUM_PIXEL_FORMATS 2 |
165 | 165 | ||
166 | #define TCM825X_XCLK_MIN 11900000 | ||
167 | #define TCM825X_XCLK_MAX 25000000 | ||
168 | |||
166 | struct capture_size { | 169 | struct capture_size { |
167 | unsigned long width; | 170 | unsigned long width; |
168 | unsigned long height; | 171 | unsigned long height; |
@@ -178,6 +181,7 @@ struct tcm825x_platform_data { | |||
178 | const struct tcm825x_reg *(*default_regs)(void); | 181 | const struct tcm825x_reg *(*default_regs)(void); |
179 | int (*needs_reset)(struct v4l2_int_device *s, void *buf, | 182 | int (*needs_reset)(struct v4l2_int_device *s, void *buf, |
180 | struct v4l2_pix_format *fmt); | 183 | struct v4l2_pix_format *fmt); |
184 | int (*ifparm)(struct v4l2_ifparm *p); | ||
181 | }; | 185 | }; |
182 | 186 | ||
183 | /* Array of image sizes supported by TCM825X. These must be ordered from | 187 | /* Array of image sizes supported by TCM825X. These must be ordered from |