diff mbox

[v2,2/2] ASoC: davinci: add missing break statement

Message ID 1311163638-24712-1-git-send-email-sudhakar.raj@ti.com (mailing list archive)
State Awaiting Upstream
Headers show

Commit Message

Rajashekhara, Sudhakar July 20, 2011, 12:07 p.m. UTC
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>
---
 sound/soc/davinci/davinci-vcif.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Comments

Mark Brown July 20, 2011, 7:52 p.m. UTC | #1
On Wed, Jul 20, 2011 at 05:37:18PM +0530, Rajashekhara, Sudhakar wrote:
> 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().

Applied, thanks.
diff mbox

Patch

diff --git a/sound/soc/davinci/davinci-vcif.c b/sound/soc/davinci/davinci-vcif.c
index c957e9e..1f11525 100644
--- a/sound/soc/davinci/davinci-vcif.c
+++ b/sound/soc/davinci/davinci-vcif.c
@@ -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: