Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af3289e9 authored by Marcin Kościelnicki's avatar Marcin Kościelnicki Committed by Ben Skeggs
Browse files

drm/nouveau/nvd9: Fix GPIO initialisation sequence.

parent 5c5ed6e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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 };