diff options
| author | Stefan Mavrodiev <[email protected]> | 2019-12-17 12:46:32 +0000 |
|---|---|---|
| committer | Maxime Ripard <[email protected]> | 2019-12-18 22:17:32 +0000 |
| commit | 57177d214ee0816c4436c23d6c933ccb32c571f1 (patch) | |
| tree | 734142c5d7588dcf19120fd10184572d84ffbe33 /lib/xarray.c | |
| parent | Merge tag 'drm-fixes-5.5-2019-12-12' of git://people.freedesktop.org/~agd5f/l... (diff) | |
| download | kernel-57177d214ee0816c4436c23d6c933ccb32c571f1.tar.gz kernel-57177d214ee0816c4436c23d6c933ccb32c571f1.zip | |
drm/sun4i: hdmi: Remove duplicate cleanup calls
When the HDMI unbinds drm_connector_cleanup() and drm_encoder_cleanup()
are called. This also happens when the connector and the encoder are
destroyed. This double call triggers a NULL pointer exception.
The patch fixes this by removing the cleanup calls in the unbind
function.
Cc: <[email protected]>
Fixes: 9c5681011a0c ("drm/sun4i: Add HDMI support")
Signed-off-by: Stefan Mavrodiev <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/xarray.c')
0 files changed, 0 insertions, 0 deletions
