Home
last modified time | relevance | path

Searched hist:"4 f9195e3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/platform/atmel/
H A Datmel-isi.c4f9195e3 Fri Jun 01 08:30:14 CDT 2018 Nicholas Mc Guire <hofrat@osadl.org> media: atmel-isi: move of_node_put() to cover success branch as well

The of_node_put() was only covering the error branch but missed the
success branch so the refcount for ep which
of_graph_get_remote_port_parent() incremented on success would was
not being decremented.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
4f9195e3 Fri Jun 01 08:30:14 CDT 2018 Nicholas Mc Guire <hofrat@osadl.org> media: atmel-isi: move of_node_put() to cover success branch as well

The of_node_put() was only covering the error branch but missed the
success branch so the refcount for ep which
of_graph_get_remote_port_parent() incremented on success would was
not being decremented.

Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org>
Acked-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>