linux/drivers/media/platform/stm32
Nicholas Mc Guire c2ee2243ce media: stm32-dcmi: add mandatory of_node_put() in success path
The endpoint allocated by of_graph_get_next_endpoint() needs an of_node_put()
in both error and success path. As  ep  is not used the refcount decrement
can be right after the last use of  ep.

Fixes: commit 37404f91ef ("[media] stm32-dcmi: STM32 DCMI camera interface driver")

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-06-28 07:49:06 -04:00
..
Makefile [media] cec: add STM32 cec driver 2017-06-13 13:48:18 -03:00
stm32-cec.c media: platform: stm32: Adopt SPDX identifier 2018-02-26 06:43:14 -05:00
stm32-dcmi.c media: stm32-dcmi: add mandatory of_node_put() in success path 2018-06-28 07:49:06 -04:00