mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
drm/panel: panel-simple: Remove extra call: drm_connector_update_edid_property()
As of commit 5186421cbf ("drm: Introduce epoch counter to
drm_connector") the drm_get_edid() function calls
drm_connector_update_edid_property() for us. There's no reason for us
to call it again.
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Reviewed-by: Sean Paul <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/20210423095743.v5.16.Icb581b0273d95cc33ca38676c61ae6d7d2e75357@changeid
This commit is contained in:
1 parent
b137406d96
commit
4318ea406e
1 file changed
-1
@@ -512,7 +512,6 @@ static int panel_simple_get_modes(struct drm_panel *panel,
|
||||
if (p->ddc) {
|
||||
struct edid *edid = drm_get_edid(connector, p->ddc);
|
||||
|
||||
drm_connector_update_edid_property(connector, edid);
|
||||
if (edid) {
|
||||
num += drm_add_edid_modes(connector, edid);
|
||||
kfree(edid);
|
||||
|
||||
Reference in new issue
Block a user