soc: qcom: smem: Correct check for global partition
authorBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 25 Jun 2018 20:06:13 +0000 (13:06 -0700)
committerAndy Gross <andy.gross@linaro.org>
Sat, 21 Jul 2018 18:31:13 +0000 (13:31 -0500)
commit0b65c59e3a5475895c93ea5f130597db16b8abf6
tree3d91396307621b369b058a51f34675f9d246ac64
parentce397d215ccd07b8ae3f71db689aedb85d56ab40
soc: qcom: smem: Correct check for global partition

The moved check for the global partition ended up in the wrong place and I
failed to spot this in my review. This moves it to the correct place.

Fixes: 11d2e7edac6a ("soc: qcom: smem: check sooner in qcom_smem_set_global_partition()")
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Alex Elder <elder@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smem.c