aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-10-13 16:40:12 +0800
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-19 09:17:02 +0100
commit7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9 (patch)
tree917a09722f54de57c14e6d0561113561292dde2f
parent8b99e68c0a40bcf082c1ba9aaad83cca4def8cec (diff)
downloadkernel_samsung_espresso10-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.zip
kernel_samsung_espresso10-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.tar.gz
kernel_samsung_espresso10-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.tar.bz2
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>
-rw-r--r--drivers/gpu/drm/i915/intel_i2c.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c
index 2449a74..2be4f72 100644
--- a/drivers/gpu/drm/i915/intel_i2c.c
+++ b/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;