diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-10 17:15:47 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-07-10 17:15:47 -0300 |
commit | 4ef8b7305c8cbfe9bf28c600f843848987377571 (patch) | |
tree | 6792ec632014ef09bf0e601f9aa09db808b0b44d /linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c | |
parent | 87e2075bfc4af8e6e5cad365ab37698a791d201c (diff) | |
parent | 1bc63b5e2937a0a86714eb692c820245116e1325 (diff) | |
download | mediapointer-dvb-s2-4ef8b7305c8cbfe9bf28c600f843848987377571.tar.gz mediapointer-dvb-s2-4ef8b7305c8cbfe9bf28c600f843848987377571.tar.bz2 |
merge: http://linuxtv.org/hg/~eandren/v4l-dvb-prio
From: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c')
-rw-r--r-- | linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c index 4a105cb38..1dd7c161f 100644 --- a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c +++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c @@ -478,9 +478,6 @@ static int s5k4aa_set_vflip(struct gspca_dev *gspca_dev, __s32 val) err = m5602_write_sensor(sd, S5K4AA_PAGE_MAP, &data, 1); if (err < 0) return err; - err = m5602_write_sensor(sd, S5K4AA_READ_MODE, &data, 1); - if (err < 0) - return err; err = m5602_read_sensor(sd, S5K4AA_READ_MODE, &data, 1); if (err < 0) @@ -526,9 +523,6 @@ static int s5k4aa_set_hflip(struct gspca_dev *gspca_dev, __s32 val) err = m5602_write_sensor(sd, S5K4AA_PAGE_MAP, &data, 1); if (err < 0) return err; - err = m5602_write_sensor(sd, S5K4AA_READ_MODE, &data, 1); - if (err < 0) - return err; err = m5602_read_sensor(sd, S5K4AA_READ_MODE, &data, 1); if (err < 0) |