Check only the minor ioctl version for event support

Change-Id: I70ddab4298a62178b2509a0365ee4cd6937302c1
Este cometimento está contido em:
Chris Freehill cometeu 2020-05-27 09:27:01 -04:00
1 ascendente e30ebbc787
cometimento 42c10633b6
1 ficheiro modificado
+1 -1
+1 -1
Ver ficheiro
@@ -3401,7 +3401,7 @@ static bool check_evt_notif_support(int kfd_fd) {
return RSMI_STATUS_INIT_ERROR;
}
if (args.major_version < 2 && args.minor_version < 3) {
if (args.minor_version < 3) {
return false;
}
return true;