media: ov7670: split register setting from set_framerate() logic
authorLubomir Rintel <lkundrak@v3.sk>
Tue, 15 Jan 2019 08:54:48 +0000 (06:54 -0200)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 25 Jan 2019 12:41:44 +0000 (10:41 -0200)
commit40012cd5ecaa48ad7bf36cb477d4d6f033639d0e
tree61d21b7df4f6e6f447ef95daee54c4aa79c50b27
parent5556ab2a3f2c91f09b53c761972bce8af72174bc
media: ov7670: split register setting from set_framerate() logic

This will allow us to restore the last set frame rate after the device
returns from a power off.

[sakari.ailus@linux.intel.com>: Wrap a line over 80 characters]

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/media/i2c/ov7670.c