Commit Graph

3 Commits

Author SHA1 Message Date
Vikram Panduranga
0a7307c180 dsp: voice_mhi: reset vote count at modem restart
MHI devote is not required when modem restarts during
a voice call, which results in PCIe down notification.
Hence, vote count is reset to zero when modem restart
is received.

Change-Id: Ia2a7bb98f21d5130520489c8f2d20a04d41f03b4
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-02-13 18:01:42 -08:00
Vikram Panduranga
51f7fa7f56 dsp: voice_mhi: fix memory size before mapping
Mailbox memory was mapped with incorrect memory size.
Adding a fix to use the actual size while mapping.

Change-Id: If9a478ca044f68bed8e0899dfb023545585272f2
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:45:47 -08:00
Vikram Panduranga
e2db205a11 dsp: add voice MHI driver
Add voice MHI driver to support the following features -
1. Allocate and map mailbox memory needed for voice call
packet exchange.
2. Send memory mapped addresses to ADSP.
3. Vote MHI host driver at start and stop of a voice call.

Change-Id: I8ef8bc270acacab9b80bca7addccdf73bd572adf
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-01-30 23:39:34 -08:00