aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_bios.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bios.c b/drivers/gpu/drm/nouveau/nouveau_bios.c
index e86f46cf883..274e9b66ec6 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)
3142 const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c }; 3142 const uint32_t nv50_gpio_ctl[2] = { 0xe100, 0xe28c };
3143 int i; 3143 int i;
3144 3144
3145 if (dev_priv->card_type != NV_50) { 3145 if (dev_priv->card_type < NV_50) {
3146 NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n"); 3146 NV_ERROR(bios->dev, "INIT_GPIO on unsupported chipset\n");
3147 return 1; 3147 return 1;
3148 } 3148 }