From 288c9e6f71db0da9119a90681307fc65313a04e7 Mon Sep 17 00:00:00 2001 From: Kunlei Zhang Date: Fri, 6 Nov 2020 14:52:14 +0800 Subject: [PATCH] ASoC: bolero: remove LPI status check during device switch Remove LPI status check during device switch to avoid missing deregister irq. Change-Id: I06860cc0b6f16a2150f9475c7d021fe97daf6b97 Signed-off-by: Kunlei Zhang --- asoc/codecs/bolero/tx-macro.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/asoc/codecs/bolero/tx-macro.c b/asoc/codecs/bolero/tx-macro.c index e63a23c19380..d5b7459da8e8 100644 --- a/asoc/codecs/bolero/tx-macro.c +++ b/asoc/codecs/bolero/tx-macro.c @@ -349,9 +349,6 @@ static int tx_macro_swr_pwr_event(struct snd_soc_dapm_widget *w, dev_dbg(tx_dev, "%s: event = %d, lpi_enable = %d\n", __func__, event, tx_priv->lpi_enable); - if (!tx_priv->lpi_enable) - return ret; - switch (event) { case SND_SOC_DAPM_PRE_PMU: if (tx_priv->lpi_enable) {