]> git.baikalelectronics.ru Git - kernel.git/commit
remoteproc: qcom: pas: Check if coredump is enabled
authorSiddharth Gupta <sidgup@codeaurora.org>
Tue, 5 Jul 2022 12:08:17 +0000 (17:38 +0530)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 18 Jul 2022 20:32:34 +0000 (15:32 -0500)
commit7b6ece968fca4ec9e42d34caff7e06dc84c45717
tree6e6767bcdf91389f58280af7adaa148da896bb53
parentdc86c129b4fb5c387b0678cfb6081ef29809cc41
remoteproc: qcom: pas: Check if coredump is enabled

Client drivers need to check if coredump is enabled for the rproc before
continuing with coredump generation. This change adds a check in the PAS
driver.

Fixes: 8ed8485c4f05 ("remoteproc: qcom: Add capability to collect minidumps")
Signed-off-by: Siddharth Gupta <sidgup@codeaurora.org>
Signed-off-by: Sibi Sankar <quic_sibis@quicinc.com>
Reviewed-by: Konrad Dybcio <konrad.dybcio@somainline.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/1657022900-2049-5-git-send-email-quic_sibis@quicinc.com
drivers/remoteproc/qcom_q6v5_pas.c