summary refs log tree commit diff
path: root/block
diff options
context:
space:
mode:
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>2017-04-05 14:10:48 +0200
committerAndy Gross <andy.gross@linaro.org>2017-06-05 21:50:44 -0500
commit35dfa3efea635c41cc5be1cf48dcc96b295964cd (patch)
treec6c8a172a15842e99c9759de8da94a70eb34ff56 /block
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
downloadlinux-35dfa3efea635c41cc5be1cf48dcc96b295964cd.tar.gz
soc: qcom: smsm: Improve error handling, quiesce probe deferral
Don't use size if info indicates an error condition. Previously a
non-ENOENT error (such as -EPROBE_DEFER) would lead to size being used
even though it hadn't necessarily been initialized in qcom_smem_get.

Don't print an error message in the -EPROBE_DEFER case.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Andy Gross <andy.gross@linaro.org>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions