summaryrefslogtreecommitdiff
path: root/drivers/media/usb/gspca/pac7302.c
diff options
context:
space:
mode:
authorFrank Schäfer <fschaefer.oss@googlemail.com>2012-09-09 22:02:24 +0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-09-14 00:54:49 +0400
commit780d61704cf62a51c06c0ca8210d0282591e00b2 (patch)
tree248eb48bd0b394547911f83e8f934e4f1afe5237 /drivers/media/usb/gspca/pac7302.c
parent0e68785db5fde372126b6d8c3ea792665249e35b (diff)
downloadlinux-780d61704cf62a51c06c0ca8210d0282591e00b2.tar.xz
[media] gspca_pac7302: extend register documentation
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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/media/usb/gspca/pac7302.c b/drivers/media/usb/gspca/pac7302.c
index 71fa5a45c2e1..2d5c6d8343a0 100644
--- a/drivers/media/usb/gspca/pac7302.c
+++ b/drivers/media/usb/gspca/pac7302.c
@@ -29,6 +29,15 @@
* Register page 0:
*
* Address Description
+ * 0x02 Red balance control
+ * 0x03 Green balance control
+ * 0x04 Blue balance control
+ * Valus are inverted (0=max, 255=min).
+ * The Windows driver uses a quadratic approach to map
+ * the settable values (0-200) on register values:
+ * min=0x80, default=0x40, max=0x20
+ * 0x0f-0x20 Colors, saturation and exposure control
+ * 0xa2-0xab Brightness, contrast and gamma control
* 0xb6 Sharpness control (bits 0-4)
*
* Register page 1: