drm/i915: Fix GPIO pin to register mapping
authorZhenyu Wang <zhenyuw@linux.intel.com>
Wed, 13 Oct 2010 08:40:12 +0000 (16:40 +0800)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 19 Oct 2010 08:17:02 +0000 (09:17 +0100)
In i2c GPIO fallback, index 6 is reserved for nothing.

Signed-off-by: Zhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
drivers/gpu/drm/i915/intel_i2c.c

index 2449a74..2be4f72 100644 (file)
@@ -155,6 +155,7 @@ intel_gpio_create(struct drm_i915_private *dev_priv, u32 pin)
                GPIOC,
                GPIOD,
                GPIOE,
+               0,
                GPIOF,
        };
        struct intel_gpio *gpio;