android_kernel_xiaomi_sm8350/ipc
Vidyakumar Athota 60871bde94 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>
2017-09-11 14:26:19 -07:00
..
apr_tal_glink.c audio-lnx: Add latest snapshot for audio drivers. 2017-09-04 20:12:56 +05:30
apr_v2.c audio-lnx: Rename folders to new flat structure. 2017-08-18 16:56:12 -06:00
apr_v3.c audio-lnx: Rename folders to new flat structure. 2017-08-18 16:56:12 -06:00
apr.c audio-lnx: Add latest snapshot for audio drivers. 2017-09-04 20:12:56 +05:30
Makefile audio-lnx: Propagate changes from kernel for wdsp-glink/avtimer 2017-08-18 16:56:12 -06:00
wcd-dsp-glink.c ipc: initialize glink link state 2017-09-11 14:26:19 -07:00