commit | c511fa3f35e30982445fae2946f4aade3f42203d | [log] [tgz] |
---|---|---|
author | Alexey Klimov <alexey.klimov@arm.com> | Wed Mar 29 19:16:27 2017 +0100 |
committer | Sudeep Holla <sudeep.holla@arm.com> | Fri Mar 31 11:00:23 2017 +0100 |
tree | 82c71d810d12f1d2e8998aa4fe34df2fc839c766 | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 [diff] |
firmware: arm_scpi: reinit completion instead of full init_completion() Instead of performing full initialization of the completion structure on each transfer in scpi_send_message(), we initialize it at boot time (more specifically, in the relevant probe() function) and use reinit_completion() to reset ->done counter on each message transfer. Signed-off-by: Alexey Klimov <alexey.klimov@arm.com> Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>