diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-04-29 16:05:27 +0800 |
|---|---|---|
| committer | Neil Armstrong <neil.armstrong@linaro.org> | 2026-05-05 15:29:07 +0200 |
| commit | 71fa1bccaa957b0f51c1e1bedff2541741ec2b0c (patch) | |
| tree | a399e10d45b83915e9862ea339c9aeec091baf09 /include/linux/timerqueue.h | |
| parent | b7e96821520f641e43aa788da5e011ac35e262bd (diff) | |
drm/panel: focaltech-ota7290b: Fix error check for devm_drm_panel_alloc()
The devm_drm_panel_alloc() function returns an error pointer on failure,
not NULL. Fix the check to use IS_ERR() and return PTR_ERR() to
correctly handle allocation failures.
Fixes: 07853e954248 ("drm/panel: add driver for Waveshare 8.8" DSI TOUCH-A panel")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20260429080527.1456732-1-nichen@iscas.ac.cn
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
