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>
This commit is contained in:
Родитель
447328194e
Коммит
88d99fcac4
|
@ -151,8 +151,8 @@ static struct m5602_sensor mt9m111 = {
|
||||||
.default_value = DEFAULT_GAIN,
|
.default_value = DEFAULT_GAIN,
|
||||||
.flags = V4L2_CTRL_FLAG_SLIDER
|
.flags = V4L2_CTRL_FLAG_SLIDER
|
||||||
},
|
},
|
||||||
.set = mt9m111_set_hflip,
|
.set = mt9m111_set_gain,
|
||||||
.get = mt9m111_get_hflip
|
.get = mt9m111_get_gain
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче