Commit 652b4445 authored by Oded Gabbay's avatar Oded Gabbay
Browse files

habanalabs/gaudi: fix missing code in ECC handling



There is missing statement and missing "break;" in the ECC handling
code in gaudi.c
This will cause a wrong behavior upon certain ECC interrupts.

Signed-off-by: default avatarOded Gabbay <ogabbay@kernel.org>
parent ef3f0caf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -5436,6 +5436,8 @@ static void gaudi_handle_ecc_event(struct hl_device *hdev, u16 event_type,
		params.num_memories = 33;
		params.derr = true;
		params.disable_clock_gating = true;
		extract_info_from_fw = false;
		break;
	default:
		return;
	}