Commit 7b5337dd authored by Zhenyu Wang's avatar Zhenyu Wang Committed by Chris Wilson

drm/i915: Fix GPIO pin to register mapping

In i2c GPIO fallback, index 6 is reserved for nothing.
Signed-off-by: default avatarZhenyu Wang <zhenyuw@linux.intel.com>
Signed-off-by: default avatarChris Wilson <chris@chris-wilson.co.uk>
parent 8b99e68c
...@@ -155,6 +155,7 @@ intel_gpio_create(struct drm_i915_private *dev_priv, u32 pin) ...@@ -155,6 +155,7 @@ intel_gpio_create(struct drm_i915_private *dev_priv, u32 pin)
GPIOC, GPIOC,
GPIOD, GPIOD,
GPIOE, GPIOE,
0,
GPIOF, GPIOF,
}; };
struct intel_gpio *gpio; struct intel_gpio *gpio;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment