diff options
Diffstat (limited to 'sound/soc/davinci')
-rw-r--r-- | sound/soc/davinci/davinci-mcasp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sound/soc/davinci/davinci-mcasp.c b/sound/soc/davinci/davinci-mcasp.c index a613bbb0bc91..ab6518d86f18 100644 --- a/sound/soc/davinci/davinci-mcasp.c +++ b/sound/soc/davinci/davinci-mcasp.c | |||
@@ -768,13 +768,12 @@ static int davinci_mcasp_trigger(struct snd_pcm_substream *substream, | |||
768 | 768 | ||
769 | switch (cmd) { | 769 | switch (cmd) { |
770 | case SNDRV_PCM_TRIGGER_RESUME: | 770 | case SNDRV_PCM_TRIGGER_RESUME: |
771 | case SNDRV_PCM_TRIGGER_START: | ||
772 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: | ||
771 | if (!dev->clk_active) { | 773 | if (!dev->clk_active) { |
772 | clk_enable(dev->clk); | 774 | clk_enable(dev->clk); |
773 | dev->clk_active = 1; | 775 | dev->clk_active = 1; |
774 | } | 776 | } |
775 | /* Fall through */ | ||
776 | case SNDRV_PCM_TRIGGER_START: | ||
777 | case SNDRV_PCM_TRIGGER_PAUSE_RELEASE: | ||
778 | davinci_mcasp_start(dev, substream->stream); | 777 | davinci_mcasp_start(dev, substream->stream); |
779 | break; | 778 | break; |
780 | 779 | ||