Browse Source

drm/i915: Fix GPIO pin to register mapping

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>
Zhenyu Wang 14 years ago
parent
commit
7b5337ddba
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/i915/intel_i2c.c

+ 1 - 0
drivers/gpu/drm/i915/intel_i2c.c

@@ -155,6 +155,7 @@ intel_gpio_create(struct drm_i915_private *dev_priv, u32 pin)
 		GPIOC,
 		GPIOD,
 		GPIOE,
+		0,
 		GPIOF,
 	};
 	struct intel_gpio *gpio;