diff --git a/dsp/voice_mhi.c b/dsp/voice_mhi.c index 69942b24807c..87572efa7e76 100644 --- a/dsp/voice_mhi.c +++ b/dsp/voice_mhi.c @@ -228,8 +228,7 @@ int voice_mhi_start(void) goto done; } if (voice_mhi_lcl.vote_count == 0) { - ret = mhi_device_get_sync(voice_mhi_lcl.mhi_dev, - MHI_VOTE_DEVICE); + ret = mhi_device_get_sync(voice_mhi_lcl.mhi_dev); if (ret) { pr_err("%s: mhi_device_get_sync failed\n", __func__); @@ -270,7 +269,7 @@ int voice_mhi_end(void) } if (voice_mhi_lcl.vote_count == 1) - mhi_device_put(voice_mhi_lcl.mhi_dev, MHI_VOTE_DEVICE); + mhi_device_put(voice_mhi_lcl.mhi_dev); voice_mhi_lcl.vote_count--; } mutex_unlock(&voice_mhi_lcl.mutex);