commit | 11d2e7edac6ad221eaf14fdc9ea2f0ddf950a839 | [log] [tgz] |
---|---|---|
author | Alex Elder <elder@linaro.org> | Tue Apr 10 17:25:42 2018 -0500 |
committer | Andy Gross <andy.gross@linaro.org> | Fri May 25 15:53:56 2018 -0500 |
tree | 39c4893221d4ebaac15df69342bc88c363ab31da | |
parent | 8fa1a21409da6abfe890f66532f9fcd8d2c25a3d [diff] |
soc: qcom: smem: check sooner in qcom_smem_set_global_partition() There's no sense in scanning the partition table again if we know the global partition has already been discovered. Check for a non-null global_partition pointer in qcom_smem_set_global_partition() immediately. Signed-off-by: Alex Elder <elder@linaro.org> Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org> Signed-off-by: Andy Gross <andy.gross@linaro.org>