[alsa-devel] [PATCH 1/3] ASoC: soc-compress: Add missing brackets around else
Vinod Koul
vinod.koul at linux.intel.com
Thu Jan 24 11:17:21 CET 2013
On Thu, 2013-01-24 at 09:44 +0000, Charles Keepax wrote:
> Signed-off-by: Charles Keepax <ckeepax at opensource.wolfsonmicro.com>
> ---
> sound/soc/soc-compress.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/sound/soc/soc-compress.c b/sound/soc/soc-compress.c
> index 5fbfb06..80040f0 100644
> --- a/sound/soc/soc-compress.c
> +++ b/sound/soc/soc-compress.c
> @@ -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,
All three:
Acked-by: Vinod Koul <vinod.koul at intel.com>
Tested-by: Jeeja KP <jeeja.kp at intel.com>
We had the similar fixes on our BSP, I have one more, will send shortly
Thanks
--
~Vinod
More information about the Alsa-devel
mailing list