diff options
author | Frank Schäfer <fschaefer.oss@googlemail.com> | 2012-09-09 14:02:20 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-13 16:53:42 -0400 |
commit | db43b9ca2f101d0945d043fa7d5ecd8f2da17fef (patch) | |
tree | 99991549fb48bf8033d89f0a7dcd958fc154559b | |
parent | 97d2fbf501e3cf105ac957086c7e40e62e15cdf8 (diff) |
[media] gspca_pac7302: make red balance and blue balance controls work again
Fix a regression from kernel 3.4 which has been introduced with the conversion of the gspca driver to the v4l2 control framework.
Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Cc: stable@kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/usb/gspca/pac7302.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c index e906f564ca85..eb3c90e4a658 100644 --- a/drivers/media/usb/gspca/pac7302.c +++ b/drivers/media/usb/gspca/pac7302.c | |||
@@ -616,7 +616,7 @@ static int sd_init_controls(struct gspca_dev *gspca_dev) | |||
616 | sd->red_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, | 616 | sd->red_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, |
617 | V4L2_CID_RED_BALANCE, 0, 3, 1, 1); | 617 | V4L2_CID_RED_BALANCE, 0, 3, 1, 1); |
618 | sd->blue_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, | 618 | sd->blue_balance = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, |
619 | V4L2_CID_RED_BALANCE, 0, 3, 1, 1); | 619 | V4L2_CID_BLUE_BALANCE, 0, 3, 1, 1); |
620 | 620 | ||
621 | gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, | 621 | gspca_dev->autogain = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops, |
622 | V4L2_CID_AUTOGAIN, 0, 1, 1, 1); | 622 | V4L2_CID_AUTOGAIN, 0, 1, 1, 1); |