soc: qcom: smem: Read version from the smem header
authorChris Lew <clew@codeaurora.org>
Wed, 11 Oct 2017 21:29:07 +0000 (14:29 -0700)
committerAndy Gross <andy.gross@linaro.org>
Thu, 12 Oct 2017 04:48:27 +0000 (23:48 -0500)
commitdcc0967dd776cefe04856726a39195c1c5edbd2c
tree0eb91ea7dd94f6c2d2cb726444cfc75139df897c
parenta216000f0140f415cec96129f777b5234c9d142f
soc: qcom: smem: Read version from the smem header

The SMEM header structure includes the version information. Read the
version directly from the header instead of getting an item from the
global heap.

Signed-off-by: Chris Lew <clew@codeaurora.org>
Acked-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
drivers/soc/qcom/smem.c