mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
Revert "dsp: voice_mhi: use modified mhi sync/put api"
This reverts commit 40c749da4c.
This change needs a corresponding change in msm-4.19 which is
not yet ready. Revert this change for now, until the dependency
change is ready to be merged.
Change-Id: I7ac030b03c01500e6061dbc6e5b4ad13385a0109
Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
This commit is contained in:
parent
be76b8d458
commit
952f3d7864
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue