linux/drivers/media/platform/mtk-jpeg
Yu Kuai f28a81a3b6 media: platform: add missing put_device() call in mtk_jpeg_clk_init()
if of_find_device_by_node() succeeds, mtk_jpeg_clk_init() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.

Fixes: 648372a87c ("media: platform: Change the call functions of getting/enable/disable the jpeg's clock")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-11-16 10:31:09 +01:00
..
Makefile media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00
mtk_jpeg_core.c media: platform: add missing put_device() call in mtk_jpeg_clk_init() 2020-11-16 10:31:09 +01:00
mtk_jpeg_core.h media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00
mtk_jpeg_dec_hw.c media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_hw.h media: platform: Rename existing functions/defines/variables 2020-08-28 15:37:28 +02:00
mtk_jpeg_dec_parse.c media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_parse.h media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_dec_reg.h media: platform: Rename jpeg dec file name 2020-08-28 15:36:36 +02:00
mtk_jpeg_enc_hw.c media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00
mtk_jpeg_enc_hw.h media: platform: Add jpeg enc feature 2020-08-28 15:38:39 +02:00