aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/params.c
diff options
context:
space:
mode:
authorJani Nikula <jani.nikula@intel.com>2016-01-14 17:12:07 +0200
committerJani Nikula <jani.nikula@intel.com>2016-01-15 11:38:11 +0200
commit6765bd6dd28eb3c087e5011a2944c00872dd5906 (patch)
treebf41d0e85189a6afcba6c3badf2ab32494d885e4 /kernel/params.c
parentdrm/i915: Make sure DC writes are coherent on flush. (diff)
downloadlinux-dev-6765bd6dd28eb3c087e5011a2944c00872dd5906.tar.xz
linux-dev-6765bd6dd28eb3c087e5011a2944c00872dd5906.zip
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 'kernel/params.c')
0 files changed, 0 insertions, 0 deletions