diff options
Diffstat (limited to 'sound/soc/codecs/ak4535.c')
-rw-r--r-- | sound/soc/codecs/ak4535.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/sound/soc/codecs/ak4535.c b/sound/soc/codecs/ak4535.c index d56e6bb1fedb..1f63d387a2f4 100644 --- a/sound/soc/codecs/ak4535.c +++ b/sound/soc/codecs/ak4535.c | |||
@@ -421,6 +421,13 @@ static int ak4535_set_bias_level(struct snd_soc_codec *codec, | |||
421 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ | 421 | SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 |\ |
422 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) | 422 | SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000) |
423 | 423 | ||
424 | static struct snd_soc_dai_ops ak4535_dai_ops = { | ||
425 | .hw_params = ak4535_hw_params, | ||
426 | .set_fmt = ak4535_set_dai_fmt, | ||
427 | .digital_mute = ak4535_mute, | ||
428 | .set_sysclk = ak4535_set_dai_sysclk, | ||
429 | }; | ||
430 | |||
424 | struct snd_soc_dai ak4535_dai = { | 431 | struct snd_soc_dai ak4535_dai = { |
425 | .name = "AK4535", | 432 | .name = "AK4535", |
426 | .playback = { | 433 | .playback = { |
@@ -435,12 +442,7 @@ struct snd_soc_dai ak4535_dai = { | |||
435 | .channels_max = 2, | 442 | .channels_max = 2, |
436 | .rates = AK4535_RATES, | 443 | .rates = AK4535_RATES, |
437 | .formats = SNDRV_PCM_FMTBIT_S16_LE,}, | 444 | .formats = SNDRV_PCM_FMTBIT_S16_LE,}, |
438 | .ops = { | 445 | .ops = &ak4535_dai_ops, |
439 | .hw_params = ak4535_hw_params, | ||
440 | .set_fmt = ak4535_set_dai_fmt, | ||
441 | .digital_mute = ak4535_mute, | ||
442 | .set_sysclk = ak4535_set_dai_sysclk, | ||
443 | }, | ||
444 | }; | 446 | }; |
445 | EXPORT_SYMBOL_GPL(ak4535_dai); | 447 | EXPORT_SYMBOL_GPL(ak4535_dai); |
446 | 448 | ||