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: Carter Cooper <ccooper@codeaurora.org>
This commit is contained in:
Carter Cooper 2020-09-16 15:00:40 -06:00 • committed by Gerrit - the friendly Code Review server
commit b7f7231088

View file

@ -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);
}