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 <pkurapat@codeaurora.org>
This commit is contained in:
Praveen Kurapati 2019-04-17 13:41:33 +05:30
commit c3b184eac4

View file

@ -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);