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>
This commit is contained in:
Dhoat Harpal 2017-04-03 17:04:11 +05:30
parent 26db194916
commit e61cfc0bb8

View file

@ -797,6 +797,12 @@ static bool get_rx_fifo(struct edge_info *einfo)
&einfo->rx_fifo_size,
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;
}