drm/i915/dp: Fix buffer size for sink_irq_esi read
authorPandiyan, Dhinakaran <dhinakaran.pandiyan@intel.com>
Mon, 18 Sep 2017 22:21:39 +0000 (15:21 -0700)
committerJani Nikula <jani.nikula@intel.com>
Mon, 25 Sep 2017 12:21:55 +0000 (15:21 +0300)
commite8b2577c5e312d175ed11a35a12346b19059277d
tree2e6e968a5aa8d3061c2e86f0a9391eadb4b98758
parent9b1c581885c985b84d36a9ffa519a9b2e68708e1
drm/i915/dp: Fix buffer size for sink_irq_esi read

The buffer size defined is 16 bytes whereas only 14 bytes are read. Add a
macro to avoid this discrepancy.

Signed-off-by: Dhinakaran Pandiyan <dhinakaran.pandiyan@intel.com>
Reviewed-by: James Ausmus <james.ausmus@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20170918222141.4674-3-dhinakaran.pandiyan@intel.com
drivers/gpu/drm/i915/intel_dp.c