From c3b184eac49daa49302a5f234b0834ff46ebbc83 Mon Sep 17 00:00:00 2001 From: Praveen Kurapati Date: Wed, 17 Apr 2019 13:41:33 +0530 Subject: [PATCH] msm: ipa3: Assert the device when IPA FW not loaded Even though IPA FW is not loaded device continue perform other operations. Due to which device moves to unstable state. Added changes to assert the device when IPA FW not loaded. Change-Id: Ibc164ebfef382c0e06b0f9b81f91dcd5928a5f3c Signed-off-by: Praveen Kurapati --- drivers/platform/msm/ipa/ipa_v3/ipa.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/msm/ipa/ipa_v3/ipa.c b/drivers/platform/msm/ipa/ipa_v3/ipa.c index 918a037392d5..e991ae19808b 100644 --- a/drivers/platform/msm/ipa/ipa_v3/ipa.c +++ b/drivers/platform/msm/ipa/ipa_v3/ipa.c @@ -6573,6 +6573,7 @@ static void ipa3_load_ipa_fw(struct work_struct *work) if (result) { IPAERR("IPA FW loading process has failed result=%d\n", result); + ipa_assert(); return; } mutex_lock(&ipa3_ctx->fw_load_data.lock);