diff options
author | Yu Kuai <yukuai3@huawei.com> | 2020-11-04 13:41:36 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | 2020-11-16 10:31:16 +0100 |
commit | 0d72f489995bb8565f6fe30539d4504c88356a9e (patch) | |
tree | 3ee7cc5a36d97f9589a89ac3fd010704ad44ba78 /drivers/scsi/initio.h | |
parent | f50613c1a83070a5212bbf394559ebd4b09e3f20 (diff) | |
download | linux-0d72f489995bb8565f6fe30539d4504c88356a9e.tar.bz2 |
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: b2f0d2724ba4 ("[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>
Diffstat (limited to 'drivers/scsi/initio.h')
0 files changed, 0 insertions, 0 deletions