linux-uconsole/drivers/media/platform/coda
Miaoqian Lin d3e5106c67 media: coda: Fix missing put_device() call in coda_get_vdoa_data
[ Upstream commit ca85d27153 ]

The reference taken by 'of_find_device_by_node()' must be released when
not needed anymore.
Add the corresponding 'put_device()' in the error handling path.

Fixes: e7f3c54810 ("[media] coda: use VDOA for un-tiling custom macroblock format")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-04-08 14:40:05 +02:00
..
coda-bit.c
coda-common.c media: coda: Fix missing put_device() call in coda_get_vdoa_data 2022-04-08 14:40:05 +02:00
coda-gdi.c
coda-h264.c
coda-jpeg.c media: coda: fix CODA960 JPEG encoder buffer overflow 2022-01-27 10:53:51 +01:00
coda-mpeg2.c
coda-mpeg4.c
coda.h
coda_regs.h
imx-vdoa.c media: coda/imx-vdoa: Handle dma_set_coherent_mask error codes 2022-01-27 10:53:56 +01:00
imx-vdoa.h
Makefile
trace.h