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>
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>
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>
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>
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>
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>
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>