linux/drivers/media/platform/mtk-jpeg
Yu Kuai 0d72f48999 media: platform: add missing put_device() call in mtk_jpeg_probe() and mtk_jpeg_remove()
if mtk_jpeg_clk_init() succeed, mtk_jpeg_probe() and mtk_jpeg_remove()
doesn't have a corresponding put_device(). Thus add a new helper
mtk_jpeg_clk_release() to fix it.

Fixes: b2f0d2724b ("[media] vcodec: mediatek: Add Mediatek JPEG Decoder Driver")
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:16 +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_probe() and mtk_jpeg_remove() 2020-11-16 10:31:16 +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