Commit 8c3d2aa4 authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown

ASoC: soc-compress: Add missing brackets around else

Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: default avatarVinod Koul <vinod.koul@intel.com>
Tested-by: default avatarJeeja KP <jeeja.kp@intel.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 7d1f9aef
...@@ -112,10 +112,11 @@ static int soc_compr_free(struct snd_compr_stream *cstream) ...@@ -112,10 +112,11 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
snd_soc_dapm_stream_event(rtd, snd_soc_dapm_stream_event(rtd,
SNDRV_PCM_STREAM_PLAYBACK, SNDRV_PCM_STREAM_PLAYBACK,
SND_SOC_DAPM_STREAM_STOP); SND_SOC_DAPM_STREAM_STOP);
} else } else {
rtd->pop_wait = 1; rtd->pop_wait = 1;
schedule_delayed_work(&rtd->delayed_work, schedule_delayed_work(&rtd->delayed_work,
msecs_to_jiffies(rtd->pmdown_time)); msecs_to_jiffies(rtd->pmdown_time));
}
} else { } else {
/* capture streams can be powered down now */ /* capture streams can be powered down now */
snd_soc_dapm_stream_event(rtd, snd_soc_dapm_stream_event(rtd,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment