ASoC: soc-compress: Add missing brackets around else
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Thu, 24 Jan 2013 09:44:28 +0000 (09:44 +0000)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 24 Jan 2013 10:53:18 +0000 (18:53 +0800)
Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Tested-by: Jeeja KP <jeeja.kp@intel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
sound/soc/soc-compress.c

index 5fbfb06e80831ed97cc42bb91df52568f779fd7f..80040f03b0213bad3e8b0fcd1c2d21f321f7ffc9 100644 (file)
@@ -112,10 +112,11 @@ static int soc_compr_free(struct snd_compr_stream *cstream)
                        snd_soc_dapm_stream_event(rtd,
                                        SNDRV_PCM_STREAM_PLAYBACK,
                                        SND_SOC_DAPM_STREAM_STOP);
-               } else
+               } else {
                        rtd->pop_wait = 1;
                        schedule_delayed_work(&rtd->delayed_work,
                                msecs_to_jiffies(rtd->pmdown_time));
+               }
        } else {
                /* capture streams can be powered down now */
                snd_soc_dapm_stream_event(rtd,