diff options
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 9c5a2aace493..8ff4c89c3d82 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c | |||
@@ -100,6 +100,19 @@ enum sensors { | |||
100 | /* device flags */ | 100 | /* device flags */ |
101 | #define PDN_INV 1 /* inverse pin S_PWR_DN / sn_xxx tables */ | 101 | #define PDN_INV 1 /* inverse pin S_PWR_DN / sn_xxx tables */ |
102 | 102 | ||
103 | /* sn9c1xx definitions */ | ||
104 | /* register 0x01 */ | ||
105 | #define S_PWR_DN 0x01 /* sensor power down */ | ||
106 | #define S_PDN_INV 0x02 /* inverse pin S_PWR_DN */ | ||
107 | #define V_TX_EN 0x04 /* video transfer enable */ | ||
108 | #define LED 0x08 /* output to pin LED */ | ||
109 | #define SCL_SEL_OD 0x20 /* open-drain mode */ | ||
110 | #define SYS_SEL_48M 0x40 /* system clock 0: 24MHz, 1: 48MHz */ | ||
111 | /* register 0x17 */ | ||
112 | #define MCK_SIZE_MASK 0x1f /* sensor master clock */ | ||
113 | #define SEN_CLK_EN 0x20 /* enable sensor clock */ | ||
114 | #define DEF_EN 0x80 /* defect pixel by 0: soft, 1: hard */ | ||
115 | |||
103 | /* V4L2 controls supported by the driver */ | 116 | /* V4L2 controls supported by the driver */ |
104 | static void setbrightness(struct gspca_dev *gspca_dev); | 117 | static void setbrightness(struct gspca_dev *gspca_dev); |
105 | static void setcontrast(struct gspca_dev *gspca_dev); | 118 | static void setcontrast(struct gspca_dev *gspca_dev); |