summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJani Nikula2016-01-14 17:12:07 +0200
committerJani Nikula2016-01-15 11:38:11 +0200
commit6765bd6dd28eb3c087e5011a2944c00872dd5906 (patch)
treebf41d0e85189a6afcba6c3badf2ab32494d885e4 /scripts
parent965fd602a6436f689f4f2fe40a6789582778ccd5 (diff)
drm/i915/bios: Fix the sequence size calculations for MIPI seq v3
Two errors in a single line. The size was read from the wrong offset, and the end index didn't take the five bytes for sequence byte and size of sequence into account. Fix it all, and break up the calculations a bit to make it clearer. Cc: Ville Syrjälä <ville.syrjala@linux.intel.com> Reported-and-tested-by: Mika Kahola <mika.kahola@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Fixes: 2a33d93486f2 ("drm/i915/bios: add support for MIPI sequence block v3") Signed-off-by: Jani Nikula <jani.nikula@intel.com> Link: http://patchwork.freedesktop.org/patch/msgid/1452784327-27258-1-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions