Commit d3a38834 authored by André Apitzsch's avatar André Apitzsch Committed by Greg Kroah-Hartman
Browse files

media: i2c: imx214: Use subdev active state



[ Upstream commit b6832ff6 ]

Port the imx214 sensor driver to use the subdev active state.

Move all the format configuration to the subdevice state and simplify
the format handling, locking and initialization.

While at it, simplify imx214_start_streaming() by removing unneeded goto
statements and the corresponding error label.

Signed-off-by: default avatarAndré Apitzsch <git@apitzsch.eu>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
Stable-dep-of: acc29451 ("media: i2c: imx214: Fix link frequency validation")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 9d5752b8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment