aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorKonrad Dybcio <[email protected]>2023-04-15 13:00:30 +0200
committerNeil Armstrong <[email protected]>2023-04-17 09:27:35 +0200
commit5dd45b66742a1f3cfa9a92dc0ac8714c7708ee6c (patch)
tree9d04a39426df3a0dd52b1811ebbe0288c3f8b496 /lib/debugobjects.c
parent56e51681246e574dcb2e13fc071c2945c7667c83 (diff)
drm/panel: novatek-nt35950: Improve error handling
In a very peculiar case when probing and registering with the secondary DSI host succeeds, but the OF backlight or DSI attachment fails, the primary DSI device is automatically cleaned up, but the secondary one is not, leading to -EEXIST when the driver core tries to handle -EPROBE_DEFER. Unregister the DSI1 device manually on failure to prevent that. Fixes: 623a3531e9cf ("drm/panel: Add driver for Novatek NT35950 DSI DriverIC panels") Signed-off-by: Konrad Dybcio <[email protected]> Reviewed-by: Neil Armstrong <[email protected]> Signed-off-by: Neil Armstrong <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions