diff options
author | Erik Andrén <erik.andren@gmail.com> | 2008-10-13 15:00:35 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-17 16:40:25 -0400 |
commit | 88d99fcac4a78d9ed95535a6efb84703b84ad935 (patch) | |
tree | 9c88a41657c42ee34934edf5846933e46c52550a /drivers/media | |
parent | 447328194efa74aba45c656b47a98c58487a28f6 (diff) |
V4L/DVB (9283): Correct typo and enable setting the gain on the mt9m111 sensor
A typo was introduced during the gspca conversion, crippling the ability to control the gain on the mt9m111 sensor.
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_mt9m111.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_mt9m111.h b/drivers/media/video/gspca/m5602/m5602_mt9m111.h index 07d224d0138f..315209d5aeef 100644 --- a/drivers/media/video/gspca/m5602/m5602_mt9m111.h +++ b/drivers/media/video/gspca/m5602/m5602_mt9m111.h | |||
@@ -151,8 +151,8 @@ static struct m5602_sensor mt9m111 = { | |||
151 | .default_value = DEFAULT_GAIN, | 151 | .default_value = DEFAULT_GAIN, |
152 | .flags = V4L2_CTRL_FLAG_SLIDER | 152 | .flags = V4L2_CTRL_FLAG_SLIDER |
153 | }, | 153 | }, |
154 | .set = mt9m111_set_hflip, | 154 | .set = mt9m111_set_gain, |
155 | .get = mt9m111_get_hflip | 155 | .get = mt9m111_get_gain |
156 | } | 156 | } |
157 | }, | 157 | }, |
158 | 158 | ||