commit | 4da5caa6a6f82cda3193bca855235b87debf78bd | [log] [tgz] |
---|---|---|
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | Wed Oct 26 12:05:55 2016 +0300 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Wed Oct 26 18:53:44 2016 +0200 |
tree | 6ba1c8129beff272d08e6aab1c16367aeca02de5 | |
parent | 36e3fa6a38e135e9478a2f75dec9bf6ff1e6480e [diff] |
drm/dp/mst: Check peer device type before attempting EDID read Only certain types of pdts have the DDC bus registered, so check for that before we attempt the EDID read. Othwewise we risk playing around with an i2c adapter that doesn't actually exist. Cc: stable@vger.kernel.org Cc: Carlos Santa <carlos.santa@intel.com> Cc: Kirill A. Shutemov <kirill@shutemov.name> Tested-by: Carlos Santa <carlos.santa@intel.com> Tested-by: Kirill A. Shutemov <kirill@shutemov.name> Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=97666 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: http://patchwork.freedesktop.org/patch/msgid/1477472755-15288-5-git-send-email-ville.syrjala@linux.intel.com