From: Zhenyu Wang Date: Wed, 13 Oct 2010 08:40:12 +0000 (+0800) Subject: drm/i915: Fix GPIO pin to register mapping X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=7b5337ddbaf7e4b71ef6fd6307c6f9ef84f636e9;p=openwrt%2Fstaging%2Fblogic.git drm/i915: Fix GPIO pin to register mapping In i2c GPIO fallback, index 6 is reserved for nothing. Signed-off-by: Zhenyu Wang Signed-off-by: Chris Wilson --- 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) GPIOC, GPIOD, GPIOE, + 0, GPIOF, }; struct intel_gpio *gpio;