Skip to content
Commit 300662f6 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram
Browse files

msm: camera: Use correct direct field size while copying



In the payload.direct field of abort and destroy ICP commands,
the size was previously 4 bytes. But ICP firmware expects this
to be 8 bytes. Fix this to the correct size of 8 bytes.
Allocate the payload dynamically now rather than on the stack.
This will prevent unnecessary allocation on the stack because
the payload size may vary.

Change-Id: Idc6b49c16784399686982ccc2bdc4118b40b666f
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 6a908a8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment