drm/hisilicon/hibmc: fix the i2c device resource leak when vdac init failed
Currently the driver missed to clean the i2c adapter when vdac init failed. It may cause resource leak. Fixes: a0d078d0 ("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>
Loading
Please sign in to comment