firmware: qcom: scm: Convert to streaming DMA APIS
authorAndy Gross <andy.gross@linaro.org>
Fri, 3 Jun 2016 23:25:25 +0000 (18:25 -0500)
committerAndy Gross <andy.gross@linaro.org>
Fri, 24 Jun 2016 18:34:00 +0000 (13:34 -0500)
commit16e59467a446514f971cc4669322ab387ca45155
tree181e99eb222448a2bcffa166118b46f0f915163a
parent11bdcee4a6b9ff0b09144a81a6b903cbfa599be7
firmware: qcom: scm: Convert to streaming DMA APIS

This patch converts the Qualcomm SCM driver to use the streaming DMA APIs
for communication buffers.  This is being done so that the
secure_flush_area call can be removed.  Using the DMA APIs will also make
the SCM32 symmetric to the coming SCM64 code.

Signed-off-by: Andy Gross <andy.gross@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Reviewed-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/firmware/qcom_scm-32.c
drivers/firmware/qcom_scm.c
drivers/firmware/qcom_scm.h