diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-23 08:54:20 -0500 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-02-23 08:56:11 -0500 |
commit | ff5f4b0585620e5c158ecaad84d91c5bf3c5d0a1 (patch) | |
tree | 18867fdd805f1beefd3592bca76f4794bdc094b8 /drivers/gpu/drm/i915/intel_i2c.c | |
parent | de67cba65944f26c0f147035bd62e30c5f456b96 (diff) | |
parent | 019d96cb55ade38a4b4a52bba0304e8cd681f30a (diff) |
Merge remote-tracking branch 'airlied/drm-next' into for-airlied
Manually resolve the conflict between the new enum drm property
helpers in drm-next and the new "force-dvi" option that the "audio" output
property gained in drm-intel-next.
While resolving this conflict, switch the new drm_prop_enum_list to
use the newly introduced enum defines instead of magic values.
Conflicts:
drivers/gpu/drm/i915/intel_modes.c
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_i2c.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c index fc75d71de53b..068617f7256a 100644 --- a/drivers/gpu/drm/i915/intel_i2c.c +++ b/drivers/gpu/drm/i915/intel_i2c.c | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | /* Intel GPIO access functions */ | 38 | /* Intel GPIO access functions */ |
39 | 39 | ||
40 | #define I2C_RISEFALL_TIME 20 | 40 | #define I2C_RISEFALL_TIME 10 |
41 | 41 | ||
42 | static inline struct intel_gmbus * | 42 | static inline struct intel_gmbus * |
43 | to_intel_gmbus(struct i2c_adapter *i2c) | 43 | to_intel_gmbus(struct i2c_adapter *i2c) |
@@ -383,7 +383,7 @@ int intel_setup_gmbus(struct drm_device *dev) | |||
383 | struct drm_i915_private *dev_priv = dev->dev_private; | 383 | struct drm_i915_private *dev_priv = dev->dev_private; |
384 | int ret, i; | 384 | int ret, i; |
385 | 385 | ||
386 | dev_priv->gmbus = kcalloc(sizeof(struct intel_gmbus), GMBUS_NUM_PORTS, | 386 | dev_priv->gmbus = kcalloc(GMBUS_NUM_PORTS, sizeof(struct intel_gmbus), |
387 | GFP_KERNEL); | 387 | GFP_KERNEL); |
388 | if (dev_priv->gmbus == NULL) | 388 | if (dev_priv->gmbus == NULL) |
389 | return -ENOMEM; | 389 | return -ENOMEM; |