media: ov5640: fix framerate update
authorHugues Fruchet <hugues.fruchet@st.com>
Thu, 4 Oct 2018 11:21:57 +0000 (07:21 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 24 Nov 2019 07:20:25 +0000 (08:20 +0100)
commit58d0a3dbad2b66144e6c8150f0a45807e14c8297
treeeac003e35b18dc748a4d93a3ff708d2b85b18de1
parent47dd538e9c445f2e0d91753993ab3ce1e361c972
media: ov5640: fix framerate update

[ Upstream commit 0929983e49c81c1d413702cd9b83bb06c4a2555c ]

Changing framerate right before streamon had no effect,
the new framerate value was taken into account only at
next streamon, fix this.

Signed-off-by: Hugues Fruchet <hugues.fruchet@st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/media/i2c/ov5640.c