]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/dp: Print the number of bytes processed for aux nacks
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 19 Mar 2015 11:38:57 +0000 (13:38 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 23 Mar 2015 15:22:29 +0000 (16:22 +0100)
commitfb8c5e49887e21817fa2b63d296c378b847bb500
treee4def53d33fe38c087f4f79c632fc9f4a4e970d2
parentae10c2248593fb84c6951d67c98c9c934997e56a
drm/dp: Print the number of bytes processed for aux nacks

When doing a native or i2c aux write the sink will indicate the number
of bytes written even if it the nacks the transfer. When we receive a
nack we just return an error upwards, but it might still be interesting
to see how many bytes made it before the nack. So include that information
in the debug messages.

v2: Also print the message size (Jani)

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/drm_dp_helper.c