soc: qcom: smem: initialize region struct only when successful
Hold off initializing anything for the array entry representing a memory region in qcom_smem_map_memory() until we know we've successfully mapped it. Signed-off-by:Alex Elder <elder@linaro.org> Signed-off-by:
Andy Gross <andy.gross@linaro.org>
parent
9f01b7a8
Please register or sign in to comment