diff options
| author | Brian Norris <[email protected]> | 2021-09-23 17:33:53 -0700 |
|---|---|---|
| committer | Sam Ravnborg <[email protected]> | 2021-10-14 21:55:00 +0200 |
| commit | 5f31dbeae8a88f31c3eb4eb526ab4807c40da241 (patch) | |
| tree | 8e6c195663d4cc02a9e7a78f617e1c3ff4f0f498 /tools/perf/scripts/python | |
| parent | 437c3d87590e7c1d901c66d8916e7a58f0fc7ff7 (diff) | |
drm/panel: kingdisplay-kd097d04: Delete panel on attach() failure
If we fail to attach (e.g., because 1 of 2 dual-DSI controllers aren't
ready), we leave a dangling drm_panel reference to freed memory. Clean
that up on failure.
Fixes: 2a994cbed6b2 ("drm/panel: Add Kingdisplay KD097D04 panel driver")
Signed-off-by: Brian Norris <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20210923173336.1.Icb4d9dbc1817f4e826361a4f1cea7461541668f0@changeid
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions