mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
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:
parent
59298aad12
commit
288c9e6f71
1 changed files with 0 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue