Skip to content

Commit

Permalink
V4L/DVB (9283): Correct typo and enable setting the gain on the mt9m1…
Browse files Browse the repository at this point in the history
…11 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>
  • Loading branch information
Erik Andrén authored and Mauro Carvalho Chehab committed Oct 17, 2008
1 parent 4473281 commit 88d99fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/gspca/m5602/m5602_mt9m111.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
},

Expand Down

0 comments on commit 88d99fc

Please sign in to comment.