summaryrefslogtreecommitdiff
path: root/drivers/esoc
AgeCommit message (Collapse)Author
2017-04-26esoc: remove reduntant return_esoc_udev() fn callMohammed Khajapasha
Remove reduntant return_esoc_udev() function call while deleting a esoc device from an esoc clink. Change-Id: Id2e812addb1bd8af0e23c4182427adbee9731a58 Signed-off-by: Mohammed Khajapasha <mkhaja@codeaurora.org>
2017-03-29esoc: Fix user space corruption due to wrong data typeArun KS
ESOC IOCTL was designed to transfer data of type unsigned int, but was pushing data of unsigned long type. Hence causing data corruption in user space. Fix this by changing put user to use unsigned int. Change-Id: Ia233eedd76f1ca1ec3036889d6764e568ee975dd Signed-off-by: Arun KS <arunks@codeaurora.org>
2017-03-24esoc: add support for additonal physical link infoSatya Durga Srinivasu Prabhala
Some of the device configurations support multiple external SOCs. To differentiate physical links, add support for additonal info about the physical link. CRs-Fixed: 2024578 Change-Id: If71bf23d798f8bf0b6594a686415fe9b806e4226 Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-03-15esoc: Fix potential NULL pointer dereferencesSatya Durga Srinivasu Prabhala
Update checks to avoid potential NULL pointer dereferences which are reported in static analysis. Change-Id: Ibb9db8fb44f9e27da9e531b762dfddd9725c1b4f Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2017-02-27esoc: Add check for possible null pointer returnsHanumant Singh
The call to kasprintf() can fail, with a failure to allocate memory. Handle the condition appropriately. CRs-Fixed: 1014400 Change-Id: I83d3a6c8bdfd7a104b88a3bedd50f49faeecd97a Signed-off-by: Hanumant Singh <hanumant@codeaurora.org>
2017-02-27esoc: mdm-dbg: Add a debug request engine for external mdmHanumant Singh
Add a stub request engine for debugging external modem. Change-Id: I6360831f21f83fcd25df72492b1d57b30a7d2197 Signed-off-by: Hanumant Singh <hanumant@codeaurora.org> Signed-off-by: Bruce Levy <blevy@codeaurora.org> [satyap@codeaurora.org: fix checkpatch issue] Signed-off-by: Satya Durga Srinivasu Prabhala <satyap@codeaurora.org>
2016-03-25esoc: Add debug engine for external modems.Hanumant Singh
Modifies the behavior of the command engine to mask out certain commands/notifications sent to the external mdm, for the purposes of debugging the external mdm. Change-Id: Iff35fd87f6d66849f6ec7d2924e1547400967c4e Signed-off-by: Hanumant Singh <hanumant@codeaurora.org> Signed-off-by: Bruce Levy <blevy@codeaurora.org>
2016-03-22esoc: Snapshot esoc driversAbhimanyu Kapur
Snapshot esoc components, headers and UAPI headers from msm-3.18@0922caf50f22e751a05e (Merge "usb: dwc3-msm: Fix incorrect roles with multiple instances") Change-Id: I55e7ea4359c1f5b855f082e66d5816316da2fd48 Signed-off-by: Abhimanyu Kapur <abhimany@codeaurora.org>