[Nouveau] [PATCH] drm/nouveau/nvd9: Fix GPIO initialisation sequence.

Marcin Kościelnicki koriakin at 0x04.net
Mon May 21 05:51:50 PDT 2012


Signed-off-by: Marcin Kościelnicki <koriakin at 0x04.net>
---
 drivers/gpu/drm/nouveau/nouveau_gpio.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/gpu/drm/nouveau/nouveau_gpio.c b/drivers/gpu/drm/nouveau/nouveau_gpio.c
index f75ad66..a0911af 100644
--- a/drivers/gpu/drm/nouveau/nouveau_gpio.c
+++ b/drivers/gpu/drm/nouveau/nouveau_gpio.c
@@ -369,7 +369,7 @@ nouveau_gpio_reset(struct nouveau_device *ndev)
 		if (ndev->card_type >= NV_D0) {
 			nv_mask(ndev, 0x00d610 + (line * 4), 0xff, unk0);
 			if (unk1--)
-				nv_mask(ndev, 0x00d640 + (unk1 * 4), 0xff, line);
+				nv_mask(ndev, 0x00d740 + (unk1 * 4), 0xff, line);
 		} else
 		if (ndev->card_type >= NV_50) {
 			static const u32 regs[] = { 0xe100, 0xe28c };
-- 
1.7.10.2



More information about the Nouveau mailing list