RE: [PATCH] drm/kmb: Fix an error handling path

2021-05-26 Thread Chrisanthus, Anitha
@ravnborg.org > Cc: dri-devel@lists.freedesktop.org; linux-ker...@vger.kernel.org; kernel- > janit...@vger.kernel.org; Christophe JAILLET > Subject: [PATCH] drm/kmb: Fix an error handling path > > If 'platform_get_irq()' fails, it is spurious to call > 'of_reserved_mem_device_r

[PATCH] drm/kmb: Fix an error handling path

2021-05-19 Thread Christophe JAILLET
If 'platform_get_irq()' fails, it is spurious to call 'of_reserved_mem_device_release()' in the error handling path, because 'of_reserved_mem_device_init() has not been called yet. Moreover, a previous 'kmb_initialize_clocks()' is unbalanced by a corresponding 'kmb_display_clk_disable()' call,