diff options
Diffstat (limited to 'sound/soc/fsl/fsl_ssi.c')
-rw-r--r-- | sound/soc/fsl/fsl_ssi.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 6844009833db..0fddd437a7c9 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c | |||
@@ -562,6 +562,15 @@ static int fsl_ssi_set_fmt(struct snd_soc_dai *cpu_dai, unsigned int format) | |||
562 | /** | 562 | /** |
563 | * fsl_ssi_dai_template: template CPU DAI for the SSI | 563 | * fsl_ssi_dai_template: template CPU DAI for the SSI |
564 | */ | 564 | */ |
565 | static struct snd_soc_dai_ops fsl_ssi_dai_ops = { | ||
566 | .startup = fsl_ssi_startup, | ||
567 | .hw_params = fsl_ssi_hw_params, | ||
568 | .shutdown = fsl_ssi_shutdown, | ||
569 | .trigger = fsl_ssi_trigger, | ||
570 | .set_sysclk = fsl_ssi_set_sysclk, | ||
571 | .set_fmt = fsl_ssi_set_fmt, | ||
572 | }; | ||
573 | |||
565 | static struct snd_soc_dai fsl_ssi_dai_template = { | 574 | static struct snd_soc_dai fsl_ssi_dai_template = { |
566 | .playback = { | 575 | .playback = { |
567 | /* The SSI does not support monaural audio. */ | 576 | /* The SSI does not support monaural audio. */ |
@@ -576,14 +585,7 @@ static struct snd_soc_dai fsl_ssi_dai_template = { | |||
576 | .rates = FSLSSI_I2S_RATES, | 585 | .rates = FSLSSI_I2S_RATES, |
577 | .formats = FSLSSI_I2S_FORMATS, | 586 | .formats = FSLSSI_I2S_FORMATS, |
578 | }, | 587 | }, |
579 | .ops = { | 588 | .ops = &fsl_ssi_dai_ops, |
580 | .startup = fsl_ssi_startup, | ||
581 | .hw_params = fsl_ssi_hw_params, | ||
582 | .shutdown = fsl_ssi_shutdown, | ||
583 | .trigger = fsl_ssi_trigger, | ||
584 | .set_sysclk = fsl_ssi_set_sysclk, | ||
585 | .set_fmt = fsl_ssi_set_fmt, | ||
586 | }, | ||
587 | }; | 589 | }; |
588 | 590 | ||
589 | /** | 591 | /** |