All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 2/2] ASoC: davinci: add missing break statement
@ 2011-07-20 12:07 Rajashekhara, Sudhakar
  2011-07-20 19:52 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Rajashekhara, Sudhakar @ 2011-07-20 12:07 UTC (permalink / raw)
  To: alsa-devel
  Cc: davinci-linux-open-source, broonie, Rajashekhara, Sudhakar, lrg

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(-)

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:
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-07-20 19:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-20 12:07 [PATCH v2 2/2] ASoC: davinci: add missing break statement Rajashekhara, Sudhakar
2011-07-20 19:52 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.