drm/i915: base gmbus pin validity check on the gmbus pin map array
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_dvo.c
index bfedea3826d76322d308a3756cb9736123fcd3c1..9a27ec7100efa0a7902b6c9e52ae2f955db14949 100644 (file)
@@ -502,7 +502,7 @@ void intel_dvo_init(struct drm_device *dev)
                 * special cases, but otherwise default to what's defined
                 * in the spec.
                 */
-               if (intel_gmbus_is_valid_pin(dvo->gpio))
+               if (intel_gmbus_is_valid_pin(dev_priv, dvo->gpio))
                        gpio = dvo->gpio;
                else if (dvo->type == INTEL_DVO_CHIP_LVDS)
                        gpio = GMBUS_PIN_SSC;
This page took 0.023841 seconds and 5 git commands to generate.