mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 08:07:32 -04:00
soc: remove error log in lpi gpio write
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>
This commit is contained in:
parent
3944bb8d29
commit
26542e0764
1 changed files with 0 additions and 2 deletions
|
|
@ -181,8 +181,6 @@ static int lpi_gpio_write(struct lpi_gpio_pad *pad, unsigned int addr,
|
|||
int ret = 0;
|
||||
|
||||
if (!lpi_dev_up) {
|
||||
pr_err_ratelimited("%s: ADSP is down due to SSR, return\n",
|
||||
__func__);
|
||||
return 0;
|
||||
}
|
||||
pm_runtime_get_sync(lpi_dev);
|
||||
|
|
|
|||
Loading…
Reference in a new issue