]> git.baikalelectronics.ru Git - kernel.git/commit
habanalabs: rename goya_non_fatal_events array to all events
authorOded Gabbay <oded.gabbay@gmail.com>
Sun, 24 Feb 2019 13:50:53 +0000 (15:50 +0200)
committerOded Gabbay <oded.gabbay@gmail.com>
Sun, 24 Feb 2019 13:50:53 +0000 (15:50 +0200)
commitb9bf80ffc41e63a6e7e56b03a5edb1a40993d316
tree7804600fb97b62f99c46ce4f9abfd0f6fe09fd4b
parent96e598fea235ca1b419450abd77ff881b4f7bfc9
habanalabs: rename goya_non_fatal_events array to all events

The goya_non_fatal_events array actually contains all the possible events
the driver can receive from the F/W. Therefore, use a proper name
for the array.

The patch also adds missing event Ids to the goya_async_event_id enum.

Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
drivers/misc/habanalabs/goya/goya.c
drivers/misc/habanalabs/include/goya/goya_async_events.h