diff options
author | Kevin Brace <kevinbrace@gmx.com> | 2017-11-03 16:03:55 -0700 |
---|---|---|
committer | Kevin Brace <kevinbrace@gmx.com> | 2017-11-03 16:03:55 -0700 |
commit | bd7a2e3fecfbf31ebc4b44d61c6be851dc432e8a (patch) | |
tree | ae894810bcbb0e881b2c952e05ece902edd5907e /drivers/gpu/drm/openchrome/via_tmds.c | |
parent | b5b950890b1a9ac5f12380674ae0bddc341314b4 (diff) |
drm/openchrome: Fix I2C display detection regression
This affected analog, FP, and DVI (integrated TMDS transmitter).
Signed-off-by: Kevin Brace <kevinbrace@gmx.com>
Diffstat (limited to 'drivers/gpu/drm/openchrome/via_tmds.c')
-rw-r--r-- | drivers/gpu/drm/openchrome/via_tmds.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/openchrome/via_tmds.c b/drivers/gpu/drm/openchrome/via_tmds.c index d9e45d254206..bd1aafaf8c38 100644 --- a/drivers/gpu/drm/openchrome/via_tmds.c +++ b/drivers/gpu/drm/openchrome/via_tmds.c @@ -324,7 +324,7 @@ via_tmds_detect(struct drm_connector *connector, bool force) } if (i2c_bus) { - edid = drm_get_edid(connector, i2c_bus); + edid = drm_get_edid(&con->base, i2c_bus); if (edid) { if ((connector->connector_type == DRM_MODE_CONNECTOR_DVIA) ^ (edid->input & DRM_EDID_INPUT_DIGITAL)) { |