Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 26542e07 authored by Vignesh Kulothungan's avatar Vignesh Kulothungan
Browse files

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: default avatarVignesh Kulothungan <vigneshk@codeaurora.org>
parent 3944bb8d
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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);