diff options
author | Hans de Goede <hdegoede@redhat.com> | 2012-04-27 11:32:24 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-05-07 16:11:48 -0300 |
commit | a648e310df9ff088d949befc8d1306264d970826 (patch) | |
tree | 264031cb8ec47aad286d35dd9f2d758993d3bc33 /drivers/media/video/gspca/sonixb.c | |
parent | 4fd466a13008823648cf2ec6f06a03d90e6412ab (diff) | |
download | op-kernel-dev-a648e310df9ff088d949befc8d1306264d970826.zip op-kernel-dev-a648e310df9ff088d949befc8d1306264d970826.tar.gz |
[media] gspca/autogain_functions.h: Allow users to declare what they want
Allow users of gspca/autogain_functions.h to declare which of the autogain
algoritms they are going to use. This allows us to remove the hacks from
drivers which don't use coarse_grained_expo_autogain.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca/sonixb.c')
-rw-r--r-- | drivers/media/video/gspca/sonixb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index 6a1148d..e2bdf8f 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c @@ -1000,6 +1000,8 @@ static void setfreq(struct gspca_dev *gspca_dev) } } +#define WANT_REGULAR_AUTOGAIN +#define WANT_COARSE_EXPO_AUTOGAIN #include "autogain_functions.h" static void do_autogain(struct gspca_dev *gspca_dev) |