Merge "dsp: voice_mhi: reset vote count at modem restart"
diff --git a/dsp/voice_mhi.c b/dsp/voice_mhi.c
index 7f9cbfb..6c8a7fc 100644
--- a/dsp/voice_mhi.c
+++ b/dsp/voice_mhi.c
@@ -235,8 +235,11 @@
 				ret = -EINVAL;
 				goto done;
 			}
+			pr_debug("%s: mhi_device_get_sync success\n", __func__);
+		} else {
+			/* For DSDA, no additional voting is needed */
+			pr_debug("%s: mhi is already voted\n", __func__);
 		}
-		pr_debug("%s: mhi_device_get_sync success\n", __func__);
 		voice_mhi_lcl.vote_count++;
 	} else {
 		/* PCIe not supported - return success*/
@@ -438,6 +441,7 @@
 				   DMA_BIDIRECTIONAL, 0);
 
 	voice_mhi_lcl.mhi_dev = NULL;
+	voice_mhi_lcl.vote_count = 0;
 	mutex_unlock(&voice_mhi_lcl.mutex);
 }