aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/cs4270.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/cs4270.c')
-rw-r--r--sound/soc/codecs/cs4270.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/soc/codecs/cs4270.c b/sound/soc/codecs/cs4270.c
index 0e0c23ee6af..2137670c9b7 100644
--- a/sound/soc/codecs/cs4270.c
+++ b/sound/soc/codecs/cs4270.c
@@ -502,6 +502,13 @@ static const struct snd_kcontrol_new cs4270_snd_controls[] = {
502 */ 502 */
503static struct snd_soc_codec *cs4270_codec; 503static struct snd_soc_codec *cs4270_codec;
504 504
505static struct snd_soc_dai_ops cs4270_dai_ops = {
506 .hw_params = cs4270_hw_params,
507 .set_sysclk = cs4270_set_dai_sysclk,
508 .set_fmt = cs4270_set_dai_fmt,
509 .digital_mute = cs4270_mute,
510};
511
505struct snd_soc_dai cs4270_dai = { 512struct snd_soc_dai cs4270_dai = {
506 .name = "cs4270", 513 .name = "cs4270",
507 .playback = { 514 .playback = {
@@ -518,12 +525,7 @@ struct snd_soc_dai cs4270_dai = {
518 .rates = 0, 525 .rates = 0,
519 .formats = CS4270_FORMATS, 526 .formats = CS4270_FORMATS,
520 }, 527 },
521 .ops = { 528 .ops = &cs4270_dai_ops,
522 .hw_params = cs4270_hw_params,
523 .set_sysclk = cs4270_set_dai_sysclk,
524 .set_fmt = cs4270_set_dai_fmt,
525 .digital_mute = cs4270_mute,
526 },
527}; 529};
528EXPORT_SYMBOL_GPL(cs4270_dai); 530EXPORT_SYMBOL_GPL(cs4270_dai);
529 531