summaryrefslogtreecommitdiff
path: root/drivers/soc/qcom/qdsp6v2/voice_svc.c (follow)
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'msm8998/lineage-20' into lineage-20Raghuram Subramani2024-10-17
| | | | Change-Id: I126075a330f305c85f8fe1b8c9d408f368be95d1
* drivers: soc: qcom: Added check to avoid opening multiple instanceAjit Pandey2019-03-22
| | | | | | | | | | Opening of multiple instance of voice_svc user space from app will lead to pointer deference of private data within apr callback. As multi-instance not supported added check to deny open() from user space if previous instance hasn't been closed. Change-Id: Ia5ef16c69a517760fc9d45530a8a41a333fa2a21 Signed-off-by: Ajit Pandey <ajitp@codeaurora.org>
* voice_svc: Avoid double free in voice_svc driverAditya Bavanari2018-04-11
| | | | | | | | | | | voice_svc_dev is allocated as a device managed resource and need not be freed since it is freed automatically. Remove the logic to free voice_svc_dev in probe failure and remove functions to avoid double free. CRs-Fixed: 2204285 Change-Id: If4f9ca840b00448b987f5ce443f66b0923b01969 Signed-off-by: Aditya Bavanari <abavanar@codeaurora.org>
* drivers: soc: Synchronize apr callback and voice svc releasesmanag2018-02-20
| | | | | | | | | | Issue is seen when apr callback is received while voice_svc_release is in process of freeing the driver private data. Avoid invalid access of private data pointer by putting the callback and release functions in the same locked context. Change-Id: I93af13cab0a3c7e653a9bc9fa7f4f86bfa0502df Signed-off-by: smanag <smanag@codeaurora.org>
* drivers: soc: add size checkSiena Richard2017-03-03
| | | | | | | | | Add size check to ensure the payload fits inside the declared payload size to prevent loss of data when copying. CRs-Fixed: 2009224 Signed-off-by: Siena Richard <sienar@codeaurora.org> Change-Id: I4275c626605272941143b54a7b8861b25f8e750a
* drivers: soc: add mutex to prevent response being processed twiceSiena Richard2017-02-07
| | | | | | | | | | Add a mutex to prevent two threads from processing the same response at the same time. This ensures responses are processed completely and sequentially. CRs-Fixed: 1116015 Change-Id: Id2ef32edb939f8af2850b54bd6f6f447939c0732 Signed-off-by: Siena Richard <sienar@codeaurora.org>
* drivers: soc: add size checks and update log messagesSiena Richard2016-10-13
| | | | | | | | | | Add size checks to validate minimum size is met. Update log messages to include only relevant information to ensure logs are accurate and useful. Change-Id: Idf76a7d964ec6989a0474d49895e54103f17938b CRs-fixed: 1073129 Signed-off-by: Siena Richard <sienar@codeaurora.org>
* drivers: soc: Add buffer overflow check for svc send requestJosh Kirsch2016-07-05
| | | | | | | | Add buffer overflow check in voice_svc_send_req. CRs-fixed: 1010081 Change-Id: I4ae703334b0cf04f327b392bc9cd6febd4ad32f2 Signed-off-by: Josh Kirsch <jkirsch@codeaurora.org>
* ASoC: msm: Add Audio drivers for MSM targetsSudheer Papothi2016-03-23
Add snapshot for audio drivers for MSM targets. The code is migrated from msm-3.18 kernel at the below commit/AU level - AU_LINUX_ANDROID_LA.HB.1.3.1.06.00.00.187.056 (e70ad0cd5efdd9dc91a77dcdac31d6132e1315c1) (Promotion of kernel.lnx.3.18-151201.) Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>