From: Jean Delvare Date: Sat, 4 Jun 2011 19:34:56 +0000 (+0000) Subject: Revert "drm/i915: Enable GMBUS for post-gen2 chipsets" X-Git-Tag: v2.6.39.3~87 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=699ea72e02ecd0fc22e9059b04082ef613f92126;p=karo-tx-linux.git Revert "drm/i915: Enable GMBUS for post-gen2 chipsets" commit 826c7e4147f902737b281e8a5a7d7aa33fd63316 upstream. Revert commit 8f9a3f9b63b8cd3f03be9dc53533f90bd4120e5f. This fixes a hang when loading the eeprom driver (see bug #35572.) GMBUS will be re-enabled later, differently. Signed-off-by: Jean Delvare Reported-by: Marek Otahal Tested-by: Yermandu Patapitafious Tested-by: Andrew Lutomirski Acked-by: Chris Wilson Signed-off-by: Dave Airlie Cc: Ben Hutchings Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/gpu/drm/i915/intel_i2c.c b/drivers/gpu/drm/i915/intel_i2c.c index d3b903bce7c5..d98cee60b602 100644 --- a/drivers/gpu/drm/i915/intel_i2c.c +++ b/drivers/gpu/drm/i915/intel_i2c.c @@ -401,8 +401,7 @@ int intel_setup_gmbus(struct drm_device *dev) bus->reg0 = i | GMBUS_RATE_100KHZ; /* XXX force bit banging until GMBUS is fully debugged */ - if (IS_GEN2(dev)) - bus->force_bit = intel_gpio_create(dev_priv, i); + bus->force_bit = intel_gpio_create(dev_priv, i); } intel_i2c_reset(dev_priv->dev);