aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyuw@linux.intel.com>2010-10-13 04:40:12 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2010-10-19 04:17:02 -0400
commit7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9 (patch)
tree917a09722f54de57c14e6d0561113561292dde2f /drivers/gpu
parent8b99e68c0a40bcf082c1ba9aaad83cca4def8cec (diff)
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')
-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 2449a74d4d80..2be4f728ed0c 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)
155 GPIOC, 155 GPIOC,
156 GPIOD, 156 GPIOD,
157 GPIOE, 157 GPIOE,
158 0,
158 GPIOF, 159 GPIOF,
159 }; 160 };
160 struct intel_gpio *gpio; 161 struct intel_gpio *gpio;