diff options
Diffstat (limited to 'sound/soc/omap/ams-delta.c')
-rw-r--r-- | sound/soc/omap/ams-delta.c | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/sound/soc/omap/ams-delta.c b/sound/soc/omap/ams-delta.c index 4c6afb75eea6..706613077c15 100644 --- a/sound/soc/omap/ams-delta.c +++ b/sound/soc/omap/ams-delta.c | |||
@@ -412,21 +412,7 @@ static struct tty_ldisc_ops cx81801_ops = { | |||
412 | * over the modem port. | 412 | * over the modem port. |
413 | */ | 413 | */ |
414 | 414 | ||
415 | static int ams_delta_hw_params(struct snd_pcm_substream *substream, | 415 | static struct snd_soc_ops ams_delta_ops; |
416 | struct snd_pcm_hw_params *params) | ||
417 | { | ||
418 | struct snd_soc_pcm_runtime *rtd = substream->private_data; | ||
419 | |||
420 | /* Set cpu DAI configuration */ | ||
421 | return snd_soc_dai_set_fmt(rtd->cpu_dai, | ||
422 | SND_SOC_DAIFMT_DSP_A | | ||
423 | SND_SOC_DAIFMT_NB_NF | | ||
424 | SND_SOC_DAIFMT_CBM_CFM); | ||
425 | } | ||
426 | |||
427 | static struct snd_soc_ops ams_delta_ops = { | ||
428 | .hw_params = ams_delta_hw_params, | ||
429 | }; | ||
430 | 416 | ||
431 | 417 | ||
432 | /* Digital mute implemented using modem/CPU multiplexer. | 418 | /* Digital mute implemented using modem/CPU multiplexer. |
@@ -546,6 +532,8 @@ static struct snd_soc_dai_link ams_delta_dai_link = { | |||
546 | .platform_name = "omap-mcbsp.1", | 532 | .platform_name = "omap-mcbsp.1", |
547 | .codec_name = "cx20442-codec", | 533 | .codec_name = "cx20442-codec", |
548 | .ops = &ams_delta_ops, | 534 | .ops = &ams_delta_ops, |
535 | .dai_fmt = SND_SOC_DAIFMT_DSP_A | SND_SOC_DAIFMT_NB_NF | | ||
536 | SND_SOC_DAIFMT_CBM_CFM, | ||
549 | }; | 537 | }; |
550 | 538 | ||
551 | /* Audio card driver */ | 539 | /* Audio card driver */ |