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

Commit d1ce3d54 authored by Sylvain 'ythier' Hitier's avatar Sylvain 'ythier' Hitier Committed by Dave Airlie
Browse files

uvesafb: Really allow mtrr being 0, as documented and warn()ed



Fixup for commit "uvesafb: Clean up MTRR code"
    (63e28a7a)

Signed-off-by: default avatarSylvain "ythier" Hitier <sylvain.hitier@gmail.com>
Acked-by: default avatarAndy Lutomirski <luto@amacapital.net>
Also-spotted-by: default avatarTorsten Kaiser <just.for.lkml@googlemail.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent d4639eba
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -1891,7 +1891,7 @@ static int uvesafb_setup(char *options)
		}
		}
	}
	}


	if (mtrr != 3 && mtrr != 1)
	if (mtrr != 3 && mtrr != 0)
		pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr);
		pr_warn("uvesafb: mtrr should be set to 0 or 3; %d is unsupported", mtrr);


	return 0;
	return 0;