Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7f72310 authored by Carter Cooper's avatar Carter Cooper Committed by Gerrit - the friendly Code Review server
Browse files

msm: kgsl: Initialize data sent in hfi_test message



Ensure we don't send garbage as the message data.

Change-Id: I35786a1a6d8c86a555198ae07d688048f5b6bc6c
Signed-off-by: default avatarCarter Cooper <ccooper@codeaurora.org>
parent 80253232
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -469,6 +469,7 @@ static int a6xx_hfi_send_test(struct adreno_device *adreno_dev)
	struct hfi_test_cmd cmd;

	CMD_MSG_HDR(cmd, H2F_MSG_TEST);
	cmd.data = 0;

	return a6xx_hfi_send_generic_req(adreno_dev, &cmd);
}