From 26542e076432104a728c4c9f2ddd88a996ef5394 Mon Sep 17 00:00:00 2001 From: Vignesh Kulothungan Date: Thu, 17 Sep 2020 10:35:53 -0700 Subject: [PATCH] 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 --- soc/pinctrl-lpi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/soc/pinctrl-lpi.c b/soc/pinctrl-lpi.c index 03d911288077..5f93cf59717a 100644 --- a/soc/pinctrl-lpi.c +++ b/soc/pinctrl-lpi.c @@ -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);