This is a driver to handle SiRFStar GNSS chip power controls,
a device node is created to interact with driver power controls
and exposes set of IOCTLs. These IOCTLs provide mechanisms to
transition of GNSS receiver power state.
Change-Id: Idf8ff2553736221930f4f032455692e3752176ce
Signed-off-by: Vijayakumar Badiger <vbadig@codeaurora.org>
Signed-off-by: Santoshkumar Zalake <szalake@codeaurora.org>
updated auto camera headers path to align with ais techpack
Change-Id: I1bf4fecaf2feead42d2ecc4b9ca9a686f70b49ca
Signed-off-by: E V Ravi <evenka@codeaurora.org>
In current code, kgsl_close_device holds device mutex and calls
last_close in case open_count goes to zero. But as part of
last_close call, device mutex is released intermittently to wait
for active count to go to zero and also for dispatcher idle. This
intermittent release of device mutex opens up a window where a
kgsl_open_device call can go ahead and call first_open. As this
first_open is triggered before last_close could finish it messes
up the complete state machine. To fix this, move decrement of
open_count after last_close to allow any open/close happening when
last_close is in progress to just increment/decrement open_count
without triggering first_open or last_close.
Change-Id: Ibb2567e3ef0dc1864f2bfca346b0682792d0b675
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>
Move IPC_LOG inside mutex lock and bfefore deleting
cb_txn inside process_tzcb_req to make sure that
we are not accessing cb_req value that has gone bad.
Change-Id: Icc04bab52d1364d883b0a4bb07ff4cf2cc8ce6f8
Signed-off-by: Anmolpreet Kaur <anmolpre@codeaurora.org>
Few functions can be handled directly without having
the gpuid checks. So cleanup these functions to avoid
unnecessary gpuid checks.
Change-Id: If5b88adb4d21d327a39dc92d657d1bf5066f6667
Signed-off-by: Hareesh Gundu <hareeshg@codeaurora.org>
Report the QC3+ adapter power-rating via "power_now" in the usb
power-supply class.
Change-Id: I0d0e9a3e9d2f5d57f5e8696dea8f4e17a8f2df5f
Signed-off-by: Ashish Chavan <ashichav@codeaurora.org>
Added process exit checks when adding
file init memory to ramdump collection
to fix use after free for file init memory.
Change-Id: I8991d27e4c83f572a6baacc478a09eb42ea76d8f
Acked-by: Krishnaiah Tadakamalla <ktadakam@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>