diff options
| author | Dhoat Harpal <hdhoat@codeaurora.org> | 2017-04-03 17:04:11 +0530 |
|---|---|---|
| committer | Dhoat Harpal <hdhoat@codeaurora.org> | 2017-04-11 15:53:08 +0530 |
| commit | e61cfc0bb81a3e97a63c0fde6f88f622f53edd65 (patch) | |
| tree | f54ec419a20cb110aebe27e310a979ad0787523c | |
| parent | 26db194916bdb891d9b2865d38cbe8068760d8ce (diff) | |
soc: qcom: glink_smem_native_xport: Check smem item in non cache region
Smem item is searched in cached region only, however it depends on remote
processor if smem exist in cache region or non cache region of smem memory.
Check for smem item in both cached and non cached region.
CRs-Fixed: 2031705
Change-Id: Ib11fd15c6c49353950c0892b45d0eec1fbc33f46
Signed-off-by: Dhoat Harpal <hdhoat@codeaurora.org>
| -rw-r--r-- | drivers/soc/qcom/glink_smem_native_xprt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/soc/qcom/glink_smem_native_xprt.c b/drivers/soc/qcom/glink_smem_native_xprt.c index 2dc4208cbc51..85d51807077c 100644 --- a/drivers/soc/qcom/glink_smem_native_xprt.c +++ b/drivers/soc/qcom/glink_smem_native_xprt.c @@ -798,6 +798,12 @@ static bool get_rx_fifo(struct edge_info *einfo) einfo->remote_proc_id, SMEM_ITEM_CACHED_FLAG); if (!einfo->rx_fifo) + einfo->rx_fifo = smem_get_entry( + SMEM_GLINK_NATIVE_XPRT_FIFO_1, + &einfo->rx_fifo_size, + einfo->remote_proc_id, + 0); + if (!einfo->rx_fifo) return false; } |
