mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed
[ Upstream commite5f48bfa2a] Currently the driver missed to clean the i2c adapter when vdac init failed. It may cause resource leak. Fixes:a0d078d06e("drm/hisilicon: Features to support reading resolutions from EDID") Signed-off-by: Baihan Li <libaihan@huawei.com> Signed-off-by: Yongbang Shi <shiyongbang@huawei.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Link: https://lore.kernel.org/r/20250813094238.3722345-2-shiyongbang@huawei.com Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
c8029abe45
commit
d85331542e
3 changed files with 14 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue