commit | d494c257271153633a05c11e6dec85ddfc7700ee | [log] [tgz] |
---|---|---|
author | Yu Kuai <yukuai3@huawei.com> | Sat Sep 05 16:30:58 2020 +0800 |
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | Thu Sep 17 06:58:01 2020 +0800 |
tree | ed0469153be650d268c831bd766323cfbbc4c6a1 | |
parent | f85acdad07fe36b91f2244263a890bf372528326 [diff] |
drm/mediatek: Add missing put_device() call in mtk_ddp_comp_init() if of_find_device_by_node() succeed, mtk_ddp_comp_init() doesn't have a corresponding put_device(). Thus add put_device() to fix the exception handling for this function implementation. Fixes: d0afe37f5209 ("drm/mediatek: support CMDQ interface in ddp component") Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>