linux_dsm_epyc7002/drivers/media/platform/mtk-jpeg
Yu Kuai 393957d397 media: platform: add missing put_device() call in mtk_jpeg_probe() and mtk_jpeg_remove()
[ Upstream commit 0d72f489995bb8565f6fe30539d4504c88356a9e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-12-30 11:53:12 +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-12-30 11:53:12 +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