media: ov5675: correct the maximum exposure value
authorBingbu Cao <bingbu.cao@intel.com>
Fri, 21 Aug 2020 07:59:50 +0000 (09:59 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 1 Sep 2020 12:13:27 +0000 (14:13 +0200)
commitab3d4b41b4ea638be72a48a4b135dc2f9509bf51
tree97e50c4d4e685138cf0d6c6b44c7f66fb12018f2
parente4cf8c58af757f8bcc95ec123936a21804541719
media: ov5675: correct the maximum exposure value

The unit of exposure value is different from other OmniVision sensors,
driver will divide by 2 before set register, the exposure range exposed
by v4l2 ctrl to user should be same as others, so the calculation for
the maximum exposure value in current driver need be fixed.

Signed-off-by: Bingbu Cao <bingbu.cao@intel.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/i2c/ov5675.c