commit | 60871bde94822da700156d1e47139d7bb26a823b | [log] [tgz] |
---|---|---|
author | Vidyakumar Athota <vathota@codeaurora.org> | Fri Sep 08 11:26:51 2017 -0700 |
committer | Vidyakumar Athota <vathota@codeaurora.org> | Mon Sep 11 14:26:19 2017 -0700 |
tree | 1fbce79c7127ec14b954cee20e1d4a11d6f4d28e | |
parent | 8f7ccc2e6f1faf10b4d948c20f86c0e847050912 [diff] |
ipc: initialize glink link state There is a chance that glink channel memory pointer is used after free if WDSP_REG_PKT and WDSP_CMD_PKT are received at the same time from different threads. Fix this issue by initializing glink link state to GLINK_LINK_STATE_DOWN. Also limit error logs to avoid watchdog timeout issues. Change-Id: I07c4e6f12eb057405eb59f1c0d04b890fa964ce8 Signed-off-by: Vidyakumar Athota <vathota@codeaurora.org>