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

Commit b99da31e authored by Ben Skeggs's avatar Ben Skeggs
Browse files

drm/nv10/gpio: fix thinko in mask for gpio lines 2-9



Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent ffc6a4e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ nv10_gpio_drive(struct drm_device *dev, int line, int dir, int out)
	if (line < 10) {
		line = (line - 2) * 4;
		reg  = NV_PCRTC_GPIO_EXT;
		mask = 0x00000003 << ((line - 2) * 4);
		mask = 0x00000003;
		data = (dir << 1) | out;
	} else
	if (line < 14) {