commit | a1ddefd8f3963cd9edfda86a0affff8e53d4a762 | [log] [tgz] |
---|---|---|
author | Jani Nikula <jani.nikula@intel.com> | Tue Mar 17 17:18:54 2015 +0200 |
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | Fri Mar 20 11:48:11 2015 +0100 |
tree | 784a0a0c6aafac2aed7a32fc893ba1aa17e15abb | |
parent | 94ca719ee47f287b11942c899e6b81045311b786 [diff] |
drm/i915/dp: return number of bytes written for short aux/i2c writes Allow for a larger receive data size, and check if the receiver returned the number of bytes written. Without this, we've basically skipped all the unwritten bytes for short writes. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Reviewed-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>