From: Ben Skeggs Date: Wed, 4 Aug 2010 03:40:50 +0000 (+1000) Subject: drm/nvc0: allow INIT_GPIO X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=080feda59c6133ad5edcfa06e8e3d775dd0240a2;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git drm/nvc0: allow INIT_GPIO Signed-off-by: Ben Skeggs --- diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c index e86f46cf8837..274e9b66ec63 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bios.c +++ b/drivers/gpu/drm/nouveau/nouveau_bios.c @@ -3142,7 +3142,7 @@ init_gpio(struct nvbios *bios, uint16_t offset, struct init_exec *iexec) const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c }; int i; - if (dev_priv->card_type != NV_50) { + if (dev_priv->card_type < NV_50) { NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n"); return 1; }