On Sun, 30 Apr 2023 19:23:46 +0800, XuDong Liu wrote: > Smatch reports: > drivers/gpu/drm/sun4i/sun4i_tcon.c:805 sun4i_tcon_init_clocks() warn: > 'tcon->clk' from clk_prepare_enable() not released on lines: 792,801. > > In the function sun4i_tcon_init_clocks(), tcon->clk and tcon->sclk0 are > not disabled in the error handling, which affects the release of > these variable. Although sun4i_tcon_bind(), which calls > sun4i_tcon_init_clocks(), use sun4i_tcon_free_clocks to disable the > variables mentioned, but the error handling branch of > sun4i_tcon_init_clocks() ignores the required disable process. > > [...] Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime