aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/sh
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/sh')
-rw-r--r--sound/soc/sh/fsi.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c
index 97c5394aa7d7..9ab85936e65d 100644
--- a/sound/soc/sh/fsi.c
+++ b/sound/soc/sh/fsi.c
@@ -684,9 +684,6 @@ static int fsi_fifo_data_ctrl(struct fsi_priv *fsi, int startup, int stream)
684 fsi_reg_write(fsi, DOFF_ST, 0) : 684 fsi_reg_write(fsi, DOFF_ST, 0) :
685 fsi_reg_write(fsi, DIFF_ST, 0); 685 fsi_reg_write(fsi, DIFF_ST, 0);
686 686
687 /* re-enable irq */
688 fsi_irq_enable(fsi, is_play);
689
690 if (over_period) 687 if (over_period)
691 snd_pcm_period_elapsed(substream); 688 snd_pcm_period_elapsed(substream);
692 689
@@ -859,6 +856,7 @@ static int fsi_dai_trigger(struct snd_pcm_substream *substream, int cmd,
859 frames_to_bytes(runtime, runtime->buffer_size), 856 frames_to_bytes(runtime, runtime->buffer_size),
860 frames_to_bytes(runtime, runtime->period_size)); 857 frames_to_bytes(runtime, runtime->period_size));
861 ret = is_play ? fsi_data_push(fsi, 1) : fsi_data_pop(fsi, 1); 858 ret = is_play ? fsi_data_push(fsi, 1) : fsi_data_pop(fsi, 1);
859 fsi_irq_enable(fsi, is_play);
862 break; 860 break;
863 case SNDRV_PCM_TRIGGER_STOP: 861 case SNDRV_PCM_TRIGGER_STOP:
864 fsi_irq_disable(fsi, is_play); 862 fsi_irq_disable(fsi, is_play);