projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ARM: qcom: scm: Add logging of actual return code from scm call
[firefly-linux-kernel-4.4.55.git]
/
arch
/
arm
/
mach-qcom
/
scm.c
diff --git
a/arch/arm/mach-qcom/scm.c
b/arch/arm/mach-qcom/scm.c
index ec37b037e69c2af65f969e0b553aecc747c636d2..a77349d34e7889226d9ebbc49c80c09bb9a78286 100644
(file)
--- a/
arch/arm/mach-qcom/scm.c
+++ b/
arch/arm/mach-qcom/scm.c
@@
-152,6
+152,7
@@
static inline void *scm_get_response_buffer(const struct scm_response *rsp)
static int scm_remap_error(int err)
{
+ pr_err("scm_call failed with error code %d\n", err);
switch (err) {
case SCM_ERROR:
return -EIO;