modetest: allow using -r and -P
Since now -r sets the pipe struct and count like -s we can also use -P with -r. Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>main
parent
2e17aea573
commit
7618a64633
|
@ -2290,11 +2290,6 @@ int main(int argc, char **argv)
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (set_preferred && plane_count) {
|
|
||||||
fprintf(stderr, "cannot use -r (preferred) when -P (plane) is set\n");
|
|
||||||
return -1;
|
|
||||||
}
|
|
||||||
|
|
||||||
dev.fd = util_open(device, module);
|
dev.fd = util_open(device, module);
|
||||||
if (dev.fd < 0)
|
if (dev.fd < 0)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in New Issue