drm/nouveau/nvd9: Fix GPIO initialisation sequence.
authorMarcin Kościelnicki <koriakin@0x04.net>
Mon, 21 May 2012 12:51:50 +0000 (14:51 +0200)
committerBen Skeggs <bskeggs@redhat.com>
Thu, 24 May 2012 06:56:37 +0000 (16:56 +1000)
Signed-off-by: Marcin Kościelnicki <koriakin@0x04.net>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_gpio.c

index a580cc6..82c19e8 100644 (file)
@@ -387,7 +387,7 @@ nouveau_gpio_reset(struct drm_device *dev)
                if (dev_priv->card_type >= NV_D0) {
                        nv_mask(dev, 0x00d610 + (line * 4), 0xff, unk0);
                        if (unk1--)
-                               nv_mask(dev, 0x00d640 + (unk1 * 4), 0xff, line);
+                               nv_mask(dev, 0x00d740 + (unk1 * 4), 0xff, line);
                } else
                if (dev_priv->card_type >= NV_50) {
                        static const u32 regs[] = { 0xe100, 0xe28c };