summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/gspca/pac7302.c
diff options
context:
space:
mode:
authorFrank Schäfer <fschaefer.oss@googlemail.com>2012-09-09 15:02:23 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-13 17:54:34 -0300
commit0e68785db5fde372126b6d8c3ea792665249e35b (patch)
treea744f19196a9954eef75ffe0b7dba0a118b51d9d /drivers/media/usb/gspca/pac7302.c
parentf58e5cdf12a11a0585a0e779f931290f45d48c66 (diff)
downloadblackbird-op-linux-0e68785db5fde372126b6d8c3ea792665249e35b.tar.gz
blackbird-op-linux-0e68785db5fde372126b6d8c3ea792665249e35b.zip
[media] gspca_pac7302: avoid duplicate calls of the image quality adjustment functions on capturing start
There is no need to call the image quality adjustment functions in sd_start. The gspca main driver calls v4l2_ctrl_handler_setup in gspca_init_transfer, which already applies all image control values. Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/gspca/pac7302.c')
-rw-r--r--drivers/media/usb/gspca/pac7302.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c
index bed34df4ddf0..71fa5a45c2e1 100644
--- a/drivers/media/usb/gspca/pac7302.c
+++ b/drivers/media/usb/gspca/pac7302.c
@@ -673,14 +673,6 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg_w_var(gspca_dev, start_7302,
page3_7302, sizeof(page3_7302));
- setbrightcont(gspca_dev);
- setcolors(gspca_dev);
- setwhitebalance(gspca_dev);
- setredbalance(gspca_dev);
- setbluebalance(gspca_dev);
- setexposure(gspca_dev);
- setgain(gspca_dev);
- sethvflip(gspca_dev);
sd->sof_read = 0;
sd->autogain_ignore_frames = 0;
OpenPOWER on IntegriCloud