Clean up compiler warnings in haven control driver.
Change-Id: I6246a108f2e30c812071df9e5c1adbce12853fbf
Signed-off-by: Elliot Berman <eberman@codeaurora.org>
Register driver work handler will only power up device, resume PCIe
link and start MHI to download firmware. It may only block there
for a timeout, so there is no need to post it as killable event.
Change-Id: Ib82050358dc8df4a8163ecb43702aa86ed34f23d
Signed-off-by: Yue Ma <yuem@codeaurora.org>
For uniprocessor systems, add a NULL definition of tick_broadcast to
add support for tick broadcast.
Change-Id: I7dc47984cb6b60c9814171888f6adbc480a1e990
Signed-off-by: Mahesh Sivasubramanian <msivasub@codeaurora.org>
This change is for general scheduler improvement.
Change-Id: I15daf3a5837f8147f1fbb179e0fba7e1547cb499
Signed-off-by: Shaleen Agrawal <shalagra@codeaurora.org>
During system resume, scsi_resume_device() decreases a request queue's
pm_only counter if the scsi device was quiesced before. But after that,
if the scsi device's RPM status is RPM_SUSPENDED, the pm_only counter is
still held (non-zero). Current scsi resume hook only sets the RPM status
of the scsi device and its request queue to RPM_ACTIVE, but leaves the
pm_only counter unchanged. This may make the request queue's pm_only
counter remain non-zero after resume hook returns, hence those who are
waiting on the mq_freeze_wq would never be woken up. Fix this by calling
blk_post_runtime_resume() if this sdev's RPM status was RPM_SUSPENDED.
Change-Id: I11736dae2d3e79fc940f97433da89b89e2de9044
Signed-off-by: Can Guo <cang@codeaurora.org>
receive notification from ucsi glink,
and read orientation from gpio which output from pmic.
Change-Id: I076829ad74423b49359271c9f9a3e5d5b3898be9
Signed-off-by: Linyu Yuan <linyyuan@codeaurora.org>
Currently gdsc_disable() can return a value of 1 upon
successfully disabling a GDSC if it has a parent supply.
Correct this so that 0 is always returned on success.
Change-Id: I37ade1bf62b4e8b2f3446b9072674935579d75dd
Signed-off-by: David Collins <collinsd@codeaurora.org>
Enable gpu governors, on GKI builds, to dynamically scale gpu
frequency and bus frequency based on gpu load.
Change-Id: I883851b6462cc731adb8c5cb04faac3ab877e55d
Signed-off-by: Raghu Ananya Arabolu <rarabolu@codeaurora.org>
Add support for qcom,pm7250b-gpio, qcom,pm6350-gpio and
qcom,pm6150l-gpio variants.
Change-Id: Ib5c932f8b6b3f5a114aaf1641eb3b1a72a03fc85
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
Add SW USB mode support for TMC to use software interface
to send data from TMC to USB.
Change-Id: I8e4dee6cfd037d8bb81ea27ad2ed996e9980720c
Signed-off-by: Shaoqing Liu <shaoqingliu@codeaurora.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Mao Jinlong <jinlmao@codeaurora.org>