[PATCH] drm/panel: add missing platform_driver_unregister() on error path

Sam Ravnborg sam at ravnborg.org
Wed Nov 11 07:20:37 UTC 2020


Hi Yang,

On Wed, Nov 11, 2020 at 02:44:25PM +0800, Yang Yingliang wrote:
> If mipi_dsi_driver_register() failed, platform_driver_unregister()
> need be called.
> 
> Fixes: 210fcd9d9cf1 ("drm/panel: Add support for Panasonic VVX10F004B0")
> Reported-by: Hulk Robot <hulkci at huawei.com>
> Signed-off-by: Yang Yingliang <yangyingliang at huawei.com>

Thanks for the patch but this is already fixed in drm-misx-next.
See:

    commit f2e66f212a9de04afc2caa5ec79057c0ac75c728
    drm: panel: simple: add missing platform_driver_unregister() in panel_simple_init

	Sam


More information about the dri-devel mailing list