ASoC: davinci: add missing break statement
authorRajashekhara, Sudhakar <sudhakar.raj@ti.com>
Wed, 20 Jul 2011 12:07:18 +0000 (17:37 +0530)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 20 Jul 2011 19:51:35 +0000 (20:51 +0100)
In davinci_vcif_trigger() function, a break() statement was missing
causing the davinci_vcif_stop() function to be called as a fallback
after calling davinci_vcif_start().

Signed-off-by: Rajashekhara, Sudhakar <sudhakar.raj@ti.com>
Acked-by: Liam Girdwood <lrg@ti.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Cc: stable@kernel.org
sound/soc/davinci/davinci-vcif.c

index c957e9e4a73f710a51eeb53c6fa0cbda6730f95f..1f11525d97e805ade146e26fe45cf9eb48ed432c 100644 (file)
@@ -159,6 +159,7 @@ static int davinci_vcif_trigger(struct snd_pcm_substream *substream, int cmd,
        case SNDRV_PCM_TRIGGER_RESUME:
        case SNDRV_PCM_TRIGGER_PAUSE_RELEASE:
                davinci_vcif_start(substream);
+               break;
        case SNDRV_PCM_TRIGGER_STOP:
        case SNDRV_PCM_TRIGGER_SUSPEND:
        case SNDRV_PCM_TRIGGER_PAUSE_PUSH: