diff options
author | Jean-François Moine <moinejf@free.fr> | 2010-11-12 14:13:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-12-29 05:16:43 -0500 |
commit | b4e96ea30a211c0979e9e0ea10f39dfa50afb8fa (patch) | |
tree | e2afd2166fd709710ea564ac958f298222e797bd /drivers/media/video/gspca/ov519.c | |
parent | 5927abcb21d0dd10c960517453e37302acf2269e (diff) |
[media] gspca - ov519: Initialize the ov519 snapshot register
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/ov519.c')
-rw-r--r-- | drivers/media/video/gspca/ov519.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index 43b86b1b57fb..1d0fb4d91db4 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c | |||
@@ -513,6 +513,7 @@ static const struct v4l2_pix_format ovfx2_ov3610_mode[] = { | |||
513 | /* OV519 System Controller register numbers */ | 513 | /* OV519 System Controller register numbers */ |
514 | #define OV519_R51_RESET1 0x51 | 514 | #define OV519_R51_RESET1 0x51 |
515 | #define OV519_R54_EN_CLK1 0x54 | 515 | #define OV519_R54_EN_CLK1 0x54 |
516 | #define OV519_R57_SNAPSHOT 0x57 | ||
516 | 517 | ||
517 | #define OV519_GPIO_DATA_OUT0 0x71 | 518 | #define OV519_GPIO_DATA_OUT0 0x71 |
518 | #define OV519_GPIO_IO_CTRL0 0x72 | 519 | #define OV519_GPIO_IO_CTRL0 0x72 |
@@ -3864,6 +3865,8 @@ static void sd_stop0(struct gspca_dev *gspca_dev) | |||
3864 | sd->snapshot_pressed = 0; | 3865 | sd->snapshot_pressed = 0; |
3865 | } | 3866 | } |
3866 | #endif | 3867 | #endif |
3868 | if (sd->bridge == BRIDGE_OV519) | ||
3869 | reg_w(sd, OV519_R57_SNAPSHOT, 0x23); | ||
3867 | } | 3870 | } |
3868 | 3871 | ||
3869 | static void ov51x_handle_button(struct gspca_dev *gspca_dev, u8 state) | 3872 | static void ov51x_handle_button(struct gspca_dev *gspca_dev, u8 state) |