]> asedeno.scripts.mit.edu Git - linux.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)
commitb24ca4587e2b940b22de4490209b8d785bf487a5
tree7804600fb97b62f99c46ce4f9abfd0f6fe09fd4b
parent0ca3b1b7b9652875861eaa24ae2c514771c2750e
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