Grafik Komit

8 Melakukan

Penulis SHA1 Pesan Tanggal
Xiaojun Sang
53cd13a1ab ASoC: hide bind/unbind in sysfs
Exposure of driver bind/unbind to userspace via sysfs may
lead to unexpected behavior.
Hide bind and unbind by driver attribute.

Change-Id: I20d6ee653bcc16af15d6368664aaf240c6645cd0
Signed-off-by: Xiaojun Sang <xsang@codeaurora.org>
2019-05-17 15:00:33 +08:00
Bruce Levy
cf0c734e84 Revert "Revert "dsp: voice_mhi: use modified mhi sync/put api""
This reverts commit 952f3d7864.

This revert of a revert is needed for supporting PCIE changes.

Change-Id: Ib12e4114355b15c52225ff000ed59fb1889aab4d
2019-05-02 11:58:04 -07:00
Banajit Goswami
952f3d7864 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>
2019-04-23 23:57:39 -07:00
Vikram Panduranga
40c749da4c dsp: voice_mhi: use modified mhi sync/put api
MHI APIs have been updated to support LPM. Move to
newer API to make use of device LPM.

Change-Id: I53bd3dff1b66d064091f21eb5f2a36ee77f965ed
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-04-19 08:05:49 -07:00
Vikram Panduranga
7e2eb2118a dsp: voice_mhi: initialize pointer to NULL
Initialize pointer to NULL to avoid any access
to uninitialized value in case of a failure.

Change-Id: I81ecb76a30b481f57fd62448e954c227ffbc421f
Signed-off-by: Vikram Panduranga <vpandura@codeaurora.org>
2019-04-05 08:09:18 -07:00
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