ARM: qcom: scm: Add logging of actual return code from scm call
authorOlav Haugan <ohaugan@codeaurora.org>
Tue, 5 Aug 2014 01:31:49 +0000 (18:31 -0700)
committerKumar Gala <galak@codeaurora.org>
Mon, 19 Jan 2015 17:53:32 +0000 (11:53 -0600)
commit4139447035463a1ec96ceef268716dd5cec6373c
treef572baced55b1642fd7fe2c1b5eeb1ae51a9e135
parent404b5a97f5a2a718bb0feccc3712b1ab88f073d5
ARM: qcom: scm: Add logging of actual return code from scm call

When an error occurs during an scm call the error returned is remapped so
we lose the original error code. This means that when an error occurs we
have no idea what actually failed within the secure environment.

Add a logging statement that will log the actual error code from scm call
allowing us to easily determine what caused the error to occur.

Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Kumar Gala <galak@codeaurora.org>
arch/arm/mach-qcom/scm.c