diff options
author | Daniel Mack | 2022-03-17 23:55:37 +0100 |
---|---|---|
committer | Daniel Vetter | 2022-03-18 11:08:42 +0100 |
commit | d14eb80e27795b7b20060f7b151cdfe39722a813 (patch) | |
tree | 9dfa89f6c6b7cc0a506bff18de5a623f2a6056ee /fs/timerfd.c | |
parent | 3c3384050d68570f9de0fec9e58824decfefba7a (diff) |
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: 5a04227326b04c15 ("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
Diffstat (limited to 'fs/timerfd.c')
0 files changed, 0 insertions, 0 deletions