Files
linux/drivers/gpu/drm
Daniel Mack d14eb80e27 drm/panel: ili9341: fix optional regulator handling
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: 5a04227326 ("drm/panel: Add ilitek ili9341 panel driver")
Signed-off-by: Daniel Mack <daniel@zonque.org>
Cc: stable@vger.kernel.org
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20220317225537.826302-1-daniel@zonque.org
2022-03-18 11:08:42 +01:00
..
2021-12-14 10:24:28 +01:00
2021-12-14 10:24:28 +01:00
2021-12-14 10:24:28 +01:00
2022-02-23 13:00:37 +01:00
2021-11-05 11:15:14 +01:00
2021-12-14 10:24:28 +01:00
2022-02-23 14:12:01 +01:00
2021-11-30 09:41:28 +01:00
2021-11-30 09:41:28 +01:00
2021-12-10 12:36:52 +01:00
2021-12-10 12:36:52 +01:00