media: i2c: ov2680: Set V4L2_CTRL_FLAG_MODIFY_LAYOUT on flips
stable inclusion from stable-v5.10.195 commit e1552a0b990ba0a700c827a1c8c66ad5769618b4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I95JOC Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e1552a0b990ba0a700c827a1c8c66ad5769618b4 -------------------------------- [ Upstream commit 66274280 ] The driver changes the Bayer order based on the flips, but does not define the control correctly with the V4L2_CTRL_FLAG_MODIFY_LAYOUT flag. Add the V4L2_CTRL_FLAG_MODIFY_LAYOUT flag. Signed-off-by:Dave Stevenson <dave.stevenson@raspberrypi.com> Acked-by:
Rui Miguel Silva <rmfrfs@gmail.com> Signed-off-by:
Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab@kernel.org> Stable-dep-of: 7b5a42e6 ("media: ov2680: Remove auto-gain and auto-exposure controls") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com>
Loading
Please sign in to comment