summaryrefslogtreecommitdiffstats
path: root/lib/test_static_keys.c
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2020-10-09 14:38:04 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-11-16 10:31:10 +0100
commitd940d2f46bfec6e206609cf44c6bd612a81d117e (patch)
tree703a1a550ad8d8f12a849aa89f7e92f821053180 /lib/test_static_keys.c
parentmedia: mtk-vcodec: add missing put_device() call in mtk_vcodec_init_enc_pm() (diff)
downloadlinux-d940d2f46bfec6e206609cf44c6bd612a81d117e.tar.xz
linux-d940d2f46bfec6e206609cf44c6bd612a81d117e.zip
media: mtk-vcodec: add missing put_device() call in mtk_vcodec_release_enc_pm()
mtk_vcodec_release_enc_pm() will be called in two places: a. mtk_vcodec_init_enc_pm() succeed while mtk_vcodec_probe() return error. b. mtk_vcodec_enc_remove(). In both cases put_device() call is needed, since of_find_device_by_node() was called in mtk_vcodec_init_enc_pm() previously. Thus add put_devices() call in mtk_vcodec_release_enc_pm() 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 'lib/test_static_keys.c')
0 files changed, 0 insertions, 0 deletions