Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ddd36982 authored by Yu Kuai's avatar Yu Kuai Committed by Greg Kroah-Hartman
Browse files

drm/sun4i: add missing put_device() call in sun8i_r40_tcon_tv_set_mux()



[ Upstream commit 07b5b12d97dc9f47ff3dff46c4f944a15bd762e5 ]

If sun8i_r40_tcon_tv_set_mux() succeed, sun8i_r40_tcon_tv_set_mux()
doesn't have a corresponding put_device(). Thus add put_device()
to fix the exception handling for this function implementation.

Fixes: 0305189a ("drm/sun4i: tcon: Add support for R40 TCON")
Signed-off-by: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarMaxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20200826010826.1785487-1-yukuai3@huawei.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 1a2d6e72
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment