diff options
author | Hsin-Yi Wang <hsinyi@chromium.org> | 2022-07-06 15:52:53 +0300 |
---|---|---|
committer | Robert Foss <robert.foss@linaro.org> | 2022-07-06 16:19:53 +0300 |
commit | dfb02eb6bdf84697dbadd69a7df12db612ce4ed0 (patch) | |
tree | 85ac66ba61ff4b18423cb9827d1647535d748265 /tools/perf/scripts/python | |
parent | aa1965973cc734bd61294b675ac9763cddcac0ed (diff) | |
download | linux-dfb02eb6bdf84697dbadd69a7df12db612ce4ed0.tar.xz |
drm/bridge: anx7625: Fix NULL pointer crash when using edp-panel
Move devm_of_dp_aux_populate_ep_devices() after pm runtime and i2c setup
to avoid NULL pointer crash.
edp-panel probe (generic_edp_panel_probe) calls pm_runtime_get_sync() to
read EDID. At this time, bridge should have pm runtime enabled and i2c
clients ready.
Fixes: adca62ec370c ("drm/bridge: anx7625: Support reading edid through aux channel")
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220706125254.2474095-4-hsinyi@chromium.org
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions