V4L/DVB (13009): gspca - stv06xx-hdcs: Reduce exposure range
authorJames Blanford <jhblanford@gmail.com>
Fri, 18 Sep 2009 17:56:04 +0000 (14:56 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:52:46 +0000 (00:52 -0300)
commit35ccf8f8eaa97637ccadbc4b4c6345eb3753d9a9
tree8f14b4af4f5fa35227ca7cf97a2c73b1983c7351
parent4711ca823bed12be879f22a930aa9deded9736df
V4L/DVB (13009): gspca - stv06xx-hdcs: Reduce exposure range

Due to rounding and clipping, exposure and gain settings do not map to
unique register values.  Rather than read the registers and report gain
and exposure that may be different than the values that were set, just
cache the latest values that were set and report them.  Reduce exposure
range from 0-65535 to 0-255 so libv4l's autogain doesn't take forever.
Remove vestiges of driver signal processing that is now handled by
libv4l.

Signed-off-by: James Blanford <jhblanford@gmail.com>
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/stv06xx/stv06xx_hdcs.c
drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h