mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
Merge "disp: msm: sde: fix null dereference in drm_atomic_get_property"
This commit is contained in:
commit
9025759e47
1 changed files with 3 additions and 3 deletions
|
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2016-2020, The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2016-2021, The Linux Foundation. All rights reserved.
|
||||
* Copyright (C) 2013 Red Hat
|
||||
* Author: Rob Clark <robdclark@gmail.com>
|
||||
*
|
||||
|
|
@ -886,13 +886,13 @@ static int msm_drm_component_init(struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
drm_mode_config_reset(ddev);
|
||||
|
||||
ret = drm_dev_register(ddev, 0);
|
||||
if (ret)
|
||||
goto fail;
|
||||
priv->registered = true;
|
||||
|
||||
drm_mode_config_reset(ddev);
|
||||
|
||||
if (kms && kms->funcs && kms->funcs->cont_splash_config) {
|
||||
ret = kms->funcs->cont_splash_config(kms, NULL);
|
||||
if (ret) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue