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 <kunleiz@codeaurora.org>
This commit is contained in:
Kunlei Zhang 2020-11-06 14:52:14 +08:00
commit 288c9e6f71

View file

@ -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) {