]> www.infradead.org Git - users/jedix/linux-maple.git/commit
media: stm32: csi: remove useless fwnode_graph_get_endpoint call
authorAlain Volmat <alain.volmat@foss.st.com>
Mon, 13 Jan 2025 08:57:57 +0000 (09:57 +0100)
committerHans Verkuil <hverkuil@xs4all.nl>
Sat, 15 Feb 2025 14:22:49 +0000 (15:22 +0100)
commit1ec16c335c4614b56c834284d6dc37ffaf964ab2
treef1f4d4aa09a2eacdecb875bec442bebbd4c3aa20
parente0c2081221a201f350a89f291218687ee02ebc6a
media: stm32: csi: remove useless fwnode_graph_get_endpoint call

The endpoint is already retrieved at the beginning of the function
stm32_csi_parse_dt hence keep the endpoint pointer until the end
instead of getting a new one.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
drivers/media/platform/st/stm32/stm32-csi.c