Adding a null pointer for sctx before dereferencing.
Change-Id: I1497eea2b9cb7bb75481246df47269796aff182d
Acked-by: Maitreyi Gupta <maitreyi@qti.qualcomm.com>
Signed-off-by: Jeya R <jeyr@codeaurora.org>
Slimbus core interrupt is getting fired during a ADSP power up(Sub-sys up)
orafter a adsp shutdown(Sub-sys Down). At this point adsp slimbus hardware
is not ON(clocks are off) which is leading to a unclocked access when
HLOS slimbus tried to read the interrupt status register in isr.
Fix is to disable core irq as a part of SSR down notification and enable
it as a part of SSR UP notification in ngd_slim_enable API. And also add a
defensive check in ISR to not access registers if slimbus is
runtime suspended.
Change-Id: I84a599551b98c8580bdfc889ebbe99f48c649895
Signed-off-by: Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Update IPA offload sub-system to avoid IPA core API calls to support
new IPA ETH client API calls provided by IPA driver.
Change-Id: I5db3189f7042fa66397a530184c662e65c1e6f0c
Signed-off-by: Jinesh K. Jayakumar <jineshk@codeaurora.org>
Signed-off-by: Lakshit Tyagi <ltyagi@codeaurora.org>
Add new compatible string for PM7325B WLED. Add support to read
battery resistance, current and OCV from battery charger driver
through glink based interface.
Change-Id: I421c4225862c4f72f00dff14214b1b613c93fa42
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
At present, the WLED selfie flash API wled_flash_led_prepare is exposed
only for targets using QPNP_FLASH_V2 and WLED. Expose it for targets using
the combination of QTI_FLASH and WLED too.
Change-Id: I136b95f8219171534bad06109bd08423061a00c6
Signed-off-by: Jishnu Prakash <jprakash@codeaurora.org>
When enable Qcom-cpufreq driver on 5.4,because some data
struct has been changed, and trace_cpu_frequency has been
removed, this will cause the compile issue, so fix these
problem to pass compile.
Change-Id: I71f76b92a52cfd8a905a5fc7fad6e5a5f4e6b39f
Signed-off-by: Biao Long <blong@codeaurora.org>
During idle-restart failure the platform driver does not complete
the power_up completion event and it eventually results in the
driver timeout. Add code to handle idle-restart failure and
return the value of the failure to the host driver.
Change-Id: I9d80b844429ecb292a6c7e9d35362fbfd3a24adb
Signed-off-by: Mohammed Siddiq <msiddiq@codeaurora.org>
Add code to download qdss trace config to FW and qdss trace
data from FW when source=0, i.e etb_soc or etb_wcss.
Change-Id: I18bbd74d1f4460d0232c7b3d099eb8525b406e2e
Signed-off-by: Aasir Rasheed <arasheed@codeaurora.org>
Adaptive Clock Distribution (ACD) is a power saving feature
to mitigate voltage droops.
Change-Id: Ic2517010726caa33f3e9d08ed7bd66466bead730
Signed-off-by: Deepak Kumar <dkumar@codeaurora.org>