From: Chris Wilson Date: Wed, 30 Mar 2011 15:20:43 +0000 (+0100) Subject: drm/i915: Reset GMBUS controller after NAK X-Git-Tag: v2.6.39-rc2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f58aabc369014fda3a4a33604ba0a1b63b941ac;p=pandora-kernel.git drm/i915: Reset GMBUS controller after NAK Once a NAK has been asserted by the slave, we need to reset the GMBUS controller in order to continue. This is done by asserting the Software Clear Interrupt bit and then clearing it again to restore operations. If we don't clear the NAK, then all future GMBUS xfers will fail, including DDC probes and EDID retrieval. v2: Add some comments as suggested by Keith Packard. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=35781 Signed-off-by: Chris Wilson Reviewed-by: Keith Packard Tested-by: Jesse Barnes Tested-by: "Mengmeng Meng" --- Reading git-diff-tree failed