aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm
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 /drivers/gpu/drm
parent8b99e68c0a40bcf082c1ba9aaad83cca4def8cec (diff)
downloadmrst-s0i3-test-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.tar.gz
mrst-s0i3-test-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.tar.xz
mrst-s0i3-test-7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9.zip
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>
Diffstat (limited to 'drivers/gpu/drm')
-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 2449a74d4d8..2be4f728ed0 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;