From: Alex Deucher Date: Mon, 7 Apr 2014 14:33:44 +0000 (-0400) Subject: drm/dp/i2c: send bare addresses to properly reset i2c connections (v4) X-Git-Tag: omap-for-v3.16/pm-signed~75^2^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ccdb516e1873d9c69377bfec1e3392f3ed660102;p=pandora-kernel.git drm/dp/i2c: send bare addresses to properly reset i2c connections (v4) We need bare address packets at the start and end of each i2c over aux transaction to properly reset the connection between transactions. This mirrors what the existing dp i2c over aux algo currently does. This fixes EDID fetches on certain monitors especially with dp bridges. v2: update as per Ville's comments - Set buffer to NULL for zero sized packets - abort the entre transaction if one of the messages fails v3: drop leftover debugging code v4: integrate Thierry's comments - add comments about address only transactions - switch back to i and j Signed-off-by: Alex Deucher Cc: Ville Syrjälä Cc: Jani Nikula Cc: Thierry Reding Reviewed-by: Ville Syrjälä Signed-off-by: Christian König --- Reading git-diff-tree failed