Message ID | CACKLOr28HKiEiC6mkhsR2vQGMqVZ1KL_YMc5o0tf=zkroQgwrQ@mail.gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/drivers/media/i2c/soc_camera/mt9m111.c b/drivers/media/i2c/soc_camera/mt9m111.c index 9a4b8b0..a752be5 100644 --- a/drivers/media/i2c/soc_camera/mt9m111.c +++ b/drivers/media/i2c/soc_camera/mt9m111.c @@ -710,6 +710,13 @@ static int mt9m111_set_autoexposure(struct mt9m111 *mt9m111, int on) return reg_clear(OPER_MODE_CTRL, MT9M111_OPMODE_AUTOEXPO_EN); } +static int mt9m111_set_exposure(struct mt9m111 *mt9m111, int val) +{ + struct i2c_client *client = v4l2_get_subdevdata(&mt9m111->subdev); + + return reg_write(SHUTTER_WIDTH, val); +} + static int mt9m111_set_autowhitebalance(struct mt9m111 *mt9m111, int on) {