]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3e7b54e8666a46a3f7fe2f3937742ece84eb72fd
tree0eb91ea7dd94f6c2d2cb726444cfc75139df897c
parent492874bcc2fb72ad72133d8d2e8be548fd5cd3a7
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