summaryrefslogtreecommitdiff
path: root/include/media
diff options
context:
space:
mode:
authorHugues Fruchet <hugues.fruchet@st.com>2018-09-11 16:48:21 +0300
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-17 22:33:38 +0300
commit985cdcb08a0488558d1005139596b64d73bee267 (patch)
treee732fdce97f3be11e6c641d71e459cb2619b984e /include/media
parenta8f438c684eaa4cbe6c98828eb996d5ec53e24fb (diff)
downloadlinux-985cdcb08a0488558d1005139596b64d73bee267.tar.xz
media: ov5640: fix restore of last mode set
Mode setting depends on last mode set, in particular because of exposure calculation when downscale mode change between subsampling and scaling. At stream on the last mode was wrongly set to current mode, so no change was detected and exposure calculation was not made, fix this. Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Tested-by: Jacopo Mondi <jacopo@jmondi.org> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions