diff options
author | Yakir Yang <[email protected]> | 2016-06-08 10:13:27 -0400 |
---|---|---|
committer | Inki Dae <[email protected]> | 2016-06-19 14:37:24 +0900 |
commit | d90efc9ee0df3f13f248aaf47086b1e0ed6035ae (patch) | |
tree | 7b9b319385df9927141dedf20dd6662927ba600a /scripts/gdb/linux/modules.py | |
parent | 0ab15bdeb2943bd6491a35ec4eeb53a9a4436525 (diff) |
drm/exynos: dp: Fix NULL pointer dereference due uninitialized connector
Commit 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to
bridge directory") split the Exynos DP core driver into a core driver and
a bridge driver for the Analogix chip since that is also used by Rockchip.
But the change introduced a regression causing a NULL pointer dereference
when trying to access an uninitialized connector in the driver .get_modes:
Fix this by instead of having a connector struct for both the Exynos and
Analogix drivers, just use the connector initialized in the bridge driver.
Fixes: 3424e3a4f844 ("drm: bridge: analogix/dp: split exynos dp driver to bridge directory")
Reported-by: Marc Zyngier <[email protected]>
Signed-off-by: Yakir Yang <[email protected]>
Tested-by: Marc Zyngier <[email protected]>
Signed-off-by: Inki Dae <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions