From: Daniel Kurtz Date: Tue, 27 Mar 2012 18:36:15 +0000 (+0800) Subject: drm/i915/intel_i2c: gmbus disabled and reserved ports are invalid X-Git-Tag: v3.5-rc1~83^2~140^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ed06c93a1fce057808894d73167aae03c76deaf;p=pandora-kernel.git drm/i915/intel_i2c: gmbus disabled and reserved ports are invalid There is no GMBUS "disabled" port 0, nor "reserved" port 7. For the other 6 ports there is a fixed 1:1 mapping between pin pairs and gmbus ports, which means every real gmbus port has a gpio pin. Given these realizations, clean up gmbus initialization. Tested on Sandybridge (gen 6, PCH == CougarPoint) hardware. Signed-off-by: Daniel Kurtz Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed