]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/dsi: don't pass arbitrary data to sideband
authorJani Nikula <jani.nikula@intel.com>
Thu, 4 Feb 2016 10:50:50 +0000 (12:50 +0200)
committerJani Nikula <jani.nikula@intel.com>
Thu, 4 Feb 2016 16:32:57 +0000 (18:32 +0200)
commit7d815eea6f7ac9663743bc4afb9d0cf3d222b91f
tree3be31b97ef072d28b84f51ff7d709a9c775ec98b
parentb9393dcf6655e7bc4e4061b3c17fd68c9190b9dd
drm/i915/dsi: don't pass arbitrary data to sideband

Since sequence block v2 the second byte contains flags other than just
pull up/down. Don't pass arbitrary data to the sideband interface.

The rest may or may not work for sequence block v2, but there should be
no harm done.

Cc: stable@vger.kernel.org
Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/ebe3c2eee623afc4b3a134533b01f8d591d13f32.1454582914.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c