drm/i915/intel_i2c: gmbus disabled and reserved ports are invalid
authorDaniel Kurtz <djkurtz@chromium.org>
Tue, 27 Mar 2012 18:36:15 +0000 (02:36 +0800)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 28 Mar 2012 13:02:53 +0000 (15:02 +0200)
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 <djkurtz@chromium.org>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>

No differences found