soc: qcom: mdt_loader: be more informative on errors
authorAlex Elder <elder@linaro.org>
Mon, 15 Mar 2021 14:44:55 +0000 (09:44 -0500)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Thu, 5 Aug 2021 03:01:56 +0000 (22:01 -0500)
commitad68c620b7b296aab9cbe61802e329c04fde8385
treeb85807fb976741782d4674f661678b5652d328bc
parenta95fc720844154acc79064c222335165fe7cb136
soc: qcom: mdt_loader: be more informative on errors

In __qcom_mdt_load() there are cases where an error occurs that
cause a message to be printed.  In some of those cases the errno
value can be helpful to understand exactly what caused the problem.

Print the errno (as well as the firmware file name) where it is
helpful, and in a few cases reword the error message.  Consistently
use the private fw_name for the file name.

Signed-off-by: Alex Elder <elder@linaro.org>
Link: https://lore.kernel.org/r/20210315144455.1770492-1-elder@linaro.org
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/mdt_loader.c