aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMarcin Koƛcielnicki <koriakin@0x04.net>2012-05-21 08:51:50 -0400
committerBen Skeggs <bskeggs@redhat.com>2012-05-24 02:56:37 -0400
commitaf3289e96383a60f5d3096afeb5579b837aad5e0 (patch)
treeda4be094751a91df13833a50a724eb7774f099ff /drivers
parent5c5ed6e2cd8b8f944cc7a27fb8a66b695dccf32f (diff)
drm/nouveau/nvd9: Fix GPIO initialisation sequence.
Signed-off-by: Marcin Koƛcielnicki <koriakin@0x04.net> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/nouveau/nouveau_gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_gpio.c b/drivers/gpu/drm/nouveau/nouveau_gpio.c
index a580cc62337a..82c19e82ff02 100644
--- a/drivers/gpu/drm/nouveau/nouveau_gpio.c
+++ b/drivers/gpu/drm/nouveau/nouveau_gpio.c
@@ -387,7 +387,7 @@ nouveau_gpio_reset(struct drm_device *dev)
387 if (dev_priv->card_type >= NV_D0) { 387 if (dev_priv->card_type >= NV_D0) {
388 nv_mask(dev, 0x00d610 + (line * 4), 0xff, unk0); 388 nv_mask(dev, 0x00d610 + (line * 4), 0xff, unk0);
389 if (unk1--) 389 if (unk1--)
390 nv_mask(dev, 0x00d640 + (unk1 * 4), 0xff, line); 390 nv_mask(dev, 0x00d740 + (unk1 * 4), 0xff, line);
391 } else 391 } else
392 if (dev_priv->card_type >= NV_50) { 392 if (dev_priv->card_type >= NV_50) {
393 static const u32 regs[] = { 0xe100, 0xe28c }; 393 static const u32 regs[] = { 0xe100, 0xe28c };