drm/i915/dsi: double check element parsing against size if present
authorJani Nikula <jani.nikula@intel.com>
Mon, 19 Sep 2016 12:02:30 +0000 (15:02 +0300)
committerJani Nikula <jani.nikula@intel.com>
Mon, 19 Sep 2016 15:38:11 +0000 (18:38 +0300)
commit8e4f768c434e3c197a1b6d59c8e6d0807b10c4cd
tree41dc0ab580abf593b233ecc29fffe509ec948a68
parent4b4f497e13f0195dd305d0b1dea06291e1e6f521
drm/i915/dsi: double check element parsing against size if present

Be a little paranoid in case the specs change or something.

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/27050d48d0ff3d58e79fcacc41ced4c071b01424.1474286487.git.jani.nikula@intel.com
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c