diff options
| author | 2025-08-06 16:41:21 +0800 | |
|---|---|---|
| committer | 2025-09-19 10:52:45 +0800 | |
| commit | 3e6339a19cfc93bd3fec2179a2e766ab1cf39e16 (patch) | |
| tree | 1b193e18bc4b1bc819aeb0d57ddb9c20a3648337 /drivers/cdx/controller/cdx_controller.c | |
| parent | drm/pixpaper: Fix return type of pixpaper_mode_valid() (diff) | |
| download | linux-rng-3e6339a19cfc93bd3fec2179a2e766ab1cf39e16.tar.xz linux-rng-3e6339a19cfc93bd3fec2179a2e766ab1cf39e16.zip | |
drm/bridge: waveshare-dsi: Fix bailout for devm_drm_bridge_alloc()
devm_drm_bridge_alloc() returns ERR_PTR on failure instead of a
NULL pointer, so use IS_ERR() to check the returned pointer and
turn proper error code on failure by using PTR_ERR().
Fixes: dbdea37add13 ("drm: bridge: Add waveshare DSI2DPI unit driver")
Signed-off-by: Liu Ying <victor.liu@nxp.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Link: https://lore.kernel.org/r/20250806084121.510207-1-victor.liu@nxp.com
Diffstat (limited to 'drivers/cdx/controller/cdx_controller.c')
0 files changed, 0 insertions, 0 deletions
