diff options
| author | Chen Ni <nichen@iscas.ac.cn> | 2026-02-04 17:06:29 +0800 |
|---|---|---|
| committer | Luca Ceresoli <luca.ceresoli@bootlin.com> | 2026-02-20 13:37:03 +0100 |
| commit | c5f8658f97ec392eeaf355d4e9775ae1f23ca1d3 (patch) | |
| tree | 72f0797a4165e017f44c748525faa7b925d32374 /include/linux/attribute_container.h | |
| parent | 7be41fb00e2c2a823f271a8318b453ca11812f1e (diff) | |
drm/imx: parallel-display: check return value of devm_drm_bridge_add() in imx_pd_probe()
Return the value of devm_drm_bridge_add() in order to propagate the
error properly, if it fails due to resource allocation failure or bridge
registration failure.
This ensures that the probe function fails safely rather than proceeding
with a potentially incomplete bridge setup.
Fixes: bf7e97910b9f ("drm/imx: parallel-display: add the bridge before attaching it")
Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Reviewed-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Link: https://patch.msgid.link/20260204090629.2209542-1-nichen@iscas.ac.cn
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'include/linux/attribute_container.h')
0 files changed, 0 insertions, 0 deletions
