summaryrefslogtreecommitdiff
path: root/rust/helpers/bitmap.c
diff options
context:
space:
mode:
authorLiu Ying <victor.liu@nxp.com>2025-08-06 16:41:21 +0800
committerLiu Ying <victor.liu@nxp.com>2025-09-19 10:52:45 +0800
commit3e6339a19cfc93bd3fec2179a2e766ab1cf39e16 (patch)
tree1b193e18bc4b1bc819aeb0d57ddb9c20a3648337 /rust/helpers/bitmap.c
parent0265d0ebb409a25d3bb3a19494e0173d06d9d132 (diff)
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 'rust/helpers/bitmap.c')
0 files changed, 0 insertions, 0 deletions