Преглед изворни кода

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 <[email protected]>
Vignesh Kulothungan пре 4 година
родитељ
комит
b0df2d8ab5
1 измењених фајлова са 0 додато и 2 уклоњено
  1. 0 2
      soc/pinctrl-lpi.c

+ 0 - 2
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);