commit | 2132940f2192824acf160d115192755f7c58a847 | [log] [tgz] |
---|---|---|
author | Yu Kuai <yukuai3@huawei.com> | Fri Sep 11 19:21:19 2020 +0800 |
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | Thu Sep 17 06:58:01 2020 +0800 |
tree | b93debff322d02cc763c27c8362a3e1843b515e5 | |
parent | 64c194c00789889b0f9454f583712f079ba414ee [diff] |
drm/mediatek: Add missing put_device() call in mtk_drm_kms_init() if of_find_device_by_node() succeed, mtk_drm_kms_init() doesn't have a corresponding put_device(). Thus add jump target to fix the exception handling for this function implementation. Fixes: 119f5173628a ("drm/mediatek: Add DRM Driver for Mediatek SoC MT8173.") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>