summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-11-19 12:16:56 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-11-19 12:16:56 +0100
commitae86190074546910731428852528b67d13dabfde (patch)
tree839b8797683d44eaddae253c7055910891c578f6 /linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
parent7237a5591ed98d43498944809a6a0f384f173586 (diff)
parent98cf395c7a02a4623fc402f528f04d4742e5c23f (diff)
downloadmediapointer-dvb-s2-ae86190074546910731428852528b67d13dabfde.tar.gz
mediapointer-dvb-s2-ae86190074546910731428852528b67d13dabfde.tar.bz2
merge: ~eandren
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_ov9650.h')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_ov9650.h39
1 files changed, 1 insertions, 38 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
index e8ede47ce..e0efdb930 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
+++ b/linux/drivers/media/video/gspca/m5602/m5602_ov9650.h
@@ -432,6 +432,7 @@ static const unsigned char init_ov9650[][3] =
{BRIDGE, M5602_XB_PIX_OF_LINE_L, 0x00},
{BRIDGE, M5602_XB_SIG_INI, 0x01},
{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
+ /* Moves the view window in a vertical orientation */
{BRIDGE, M5602_XB_VSYNC_PARA, 0x09},
{BRIDGE, M5602_XB_VSYNC_PARA, 0x00},
{BRIDGE, M5602_XB_VSYNC_PARA, 0x01},
@@ -463,42 +464,4 @@ static const unsigned char power_down_ov9650[][3] =
{BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}
};
-/* Vertically and horizontally flips the image if matched, needed for machines
- where the sensor is mounted upside down */
-static
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24)
- const
-#endif
- struct dmi_system_id ov9650_flip_dmi_table[] = {
- {
- .ident = "ASUS A6VC",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
- DMI_MATCH(DMI_PRODUCT_NAME, "A6VC")
- }
- },
- {
- .ident = "ASUS A6VM",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
- DMI_MATCH(DMI_PRODUCT_NAME, "A6VM")
- }
- },
- {
- .ident = "ASUS A6JC",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
- DMI_MATCH(DMI_PRODUCT_NAME, "A6JC")
- }
- },
- {
- .ident = "ASUS A6Kt",
- .matches = {
- DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer Inc."),
- DMI_MATCH(DMI_PRODUCT_NAME, "A6Kt")
- }
- },
- { }
-};
-
#endif