Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad753d1b authored by Bojun Pan's avatar Bojun Pan
Browse files

ipa:mpm:add default handle for new mhi_statuc_cb enum



The original approach would cause warning on new enum.
Adding a default case to fix it.

Change-Id: Ie6fd999a52a2251559ad3153a15ba8453f919d18
Signed-off-by: default avatarBojun Pan <bojunp@codeaurora.org>
parent 82e0a0f5
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
@@ -2779,12 +2779,7 @@ static void ipa_mpm_mhi_status_cb(struct mhi_device *mhi_dev,
			IPA_MPM_DBG("Already out of lpm\n");
		}
		break;
	case MHI_CB_EE_RDDM:
	case MHI_CB_PENDING_DATA:
	case MHI_CB_SYS_ERROR:
	case MHI_CB_FATAL_ERROR:
	case MHI_CB_EE_MISSION_MODE:
	case MHI_CB_DTR_SIGNAL:
	default:
		IPA_MPM_ERR("unexpected event %d\n", mhi_cb);
		break;
	}