Add change to fix the array index out of bounds error.
Change-Id: I6a40a6dce32c90da407a51ee9ed95d649bb7d9d8
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
* Add support to allocate memory from the ION audio heap
once smmu enabled.
Change-Id: Ic1686c7a3225b723811cbbd35f08d0ac123d1f78
Signed-off-by: Viraja Kommaraju <virajak@codeaurora.org>
When sound wire master suspend is called, it holds the mutex lock
and does lpi_gpio_write, which gets preempted during pr_err_ratelimited.
Any other calls to master suspend will be blocked waiting for the above
mutex lock resulting in timeouts.
Remove pr_err_ratelimited log when device is down.
Change-Id: I148263ddbb89d436b0ce27bdc4519f196d90679a
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
update runtime total bytes transferred and received
in compress driver.
Change-Id: I1bd129e18681fcf10a27efaa061594081114c1fb
Signed-off-by: Akhil Karuturi <akarutur@codeaurora.org>
Add array bounds check for index before accessing
tx_master_port_map.
Change-Id: I52a8dbdaf40974a45e86b3dca4caa27d88a7b864
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
Add support to disable compilation of temperature sensor for
wsa881x analog module, when not needed.
Change-Id: I054e90d4b1abae3c0cdc6623b1f688120ba87dbd
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Temperature sensor of WSA881x is not used in holi.
Hence disable compilation.
Change-Id: I9fe1d297413c0029970c7719aad6c04ee3f84ab4
Signed-off-by: Vangala, Amarnath <avangala@codeaurora.org>
Add delay if the regmap of wsa slave is not registered
to avoid Null pointer dereference.
Change-Id: Ic3e5d1cc7c3fc33f4f4c480708cd562b73c1a04b
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
Add change to properly handle the pointers by setting them to
NULL after free and adding some null checks before dereferencing.
Change-Id: I3e52b9a6885a8d8a91c09f75fe92ba69e3eb555f
Signed-off-by: Saurav Kumar <sauravk@codeaurora.org>
Add enum names defined for callback between wcd and bolero in
separate file and include that file in order to have same enum
across wcd and bolero.
Change-Id: I808c2ad3de37655c1ba2b8e096def60703ced7f2
Signed-off-by: Vatsal Bucha <vbucha@codeaurora.org>
When switching TX_CLK to VA_CLK, there could be some
IRQ missing with current design. Switch the clk in bolero
to avoid the corner case.
Change-Id: Iec5cac16e026e4e46646894c546f1acb3fce4fa8
Signed-off-by: Meng Wang <mengw@codeaurora.org>
Add check for ASM_ACTIVE_STREAMS_ALLOWED
sessions to avoid accessing the array out of bounds.
Change-Id: I7b2fe2dffdb3132fded0b1e268ebd29139050823
Signed-off-by: Prasad Kumpatla <nkumpat@codeaurora.org>
in swrm_runtime_suspend, current_state is not updated and
causes audio_core_vote is not disabled. Update to check
swrm->state to resolve this issue.
Change-Id: I2c5be360fe5ddd964d7bc45696e254579aae5392
Signed-off-by: Meng Wang <mengw@codeaurora.org>