commit | ec24ad806cf6864d364f1c92b178348cbc8e18b9 | [log] [tgz] |
---|---|---|
author | Shrey Vijay <shreyv@codeaurora.org> | Tue Apr 10 15:05:31 2018 +0530 |
committer | Shrey Vijay <shreyv@codeaurora.org> | Tue Apr 17 14:33:13 2018 +0530 |
tree | 7a78cbe1cfa0dd724ffc8a8d59c914c86ffe472e | |
parent | ddbece736c203200264c6f7fcd66a0ee7e5a4af6 [diff] |
slimbus: slim-msm-ngd: Fix corner case to avoid NULL access For asynchronus read transfer, BAM RX callback can be received before main thread completes ngd_xfer_msg function execution. Keep a check to avoid accessing transfer structure, which may get freed in early RX callback. Signed-off-by: Shrey Vijay <shreyv@codeaurora.org> Change-Id: Ie96e669be9282687acd22365b68ac9f4ae659030