Commit graph

3 commits

Author SHA1 Message Date
Xiaoyu Ye
25a64e34bb drivers: soc: qcom: Add error handling in function avtimer_ioctl
Error handling is added to prevent garbage value being passed to
user space by the uninitialized local variable avtimer_tick.

CRs-Fixed: 1097878
Change-Id: I3f895deaae3acf329088cf8135859cc41e781763
Signed-off-by: Xiaoyu Ye <benyxy@codeaurora.org>
2016-12-09 16:42:23 -08:00
Laxminath Kasam
77de5087e8 avtimer: update ioctl call to query avtimer
current avtimer ioctl uses deprecated logic to query
avtimer. Use the updated API to query avtimer to avoid
wrong timestamp values when query using ioctl interface.

Change-Id: I16e4373226903b6121c911ed9f2ca31851de80e5
Signed-off-by: Laxminath Kasam <lkasam@codeaurora.org>
2016-03-23 21:16:19 -07:00
Sudheer Papothi
2df0d98256 ASoC: Add AV timer changes for MSM targets
Add snapshot of avtimer changes for MSM targets. The code
is migrated from msm-3.18 kernel.

Signed-off-by: Banajit Goswami <bgoswami@codeaurora.org>
Signed-off-by: Sudheer Papothi <spapothi@codeaurora.org>
2016-03-23 20:11:12 -07:00