drm/i915: base gmbus pin validity check on the gmbus pin map array
[deliverable/linux.git] / drivers / gpu / drm / i915 / intel_lvds.c
index d61aa78ed7e3bc35b6b61ac1b3b0710d3be00ea4..314a5d56ace25cd727b5f90214390974a3268095 100644 (file)
@@ -781,7 +781,7 @@ static bool lvds_is_present_in_vbt(struct drm_device *dev,
                    child->device_type != DEVICE_TYPE_LFP)
                        continue;
 
-               if (intel_gmbus_is_valid_pin(child->i2c_pin))
+               if (intel_gmbus_is_valid_pin(dev_priv, child->i2c_pin))
                        *i2c_pin = child->i2c_pin;
 
                /* However, we cannot trust the BIOS writers to populate
This page took 0.091796 seconds and 5 git commands to generate.