Re: [PATCH] drm/panel: ili9341: fix optional regulator handling

2022-03-18 Thread Daniel Vetter
On Thu, Mar 17, 2022 at 11:55:37PM +0100, Daniel Mack wrote: > If the optional regulator lookup fails, reset the pointer to NULL. > Other functions such as mipi_dbi_poweron_reset_conditional() only do > a NULL pointer check and will otherwise dereference the error pointer. > > Fixes: 5a04227326b04

[PATCH] drm/panel: ili9341: fix optional regulator handling

2022-03-17 Thread Daniel Mack
If the optional regulator lookup fails, reset the pointer to NULL. Other functions such as mipi_dbi_poweron_reset_conditional() only do a NULL pointer check and will otherwise dereference the error pointer. Fixes: 5a04227326b04c15 ("drm/panel: Add ilitek ili9341 panel driver") Signed-off-by: Danie