From: Erik Andrén Date: Mon, 13 Oct 2008 19:00:35 +0000 (-0300) Subject: V4L/DVB (9283): Correct typo and enable setting the gain on the mt9m111 sensor X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=88d99fcac4a78d9ed95535a6efb84703b84ad935;p=linux-beck.git 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 Signed-off-by: Mauro Carvalho Chehab --- 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 = { .default_value = DEFAULT_GAIN, .flags = V4L2_CTRL_FLAG_SLIDER }, - .set = mt9m111_set_hflip, - .get = mt9m111_get_hflip + .set = mt9m111_set_gain, + .get = mt9m111_get_gain } },