diff options
author | Sebastien Guiriec <s-guiriec@ti.com> | 2011-09-11 17:42:28 +0200 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-10-01 12:56:17 +0200 |
commit | 0f1d15dbcc0ac9927278fb6d8541c390e86d9167 (patch) | |
tree | 566b09d22a2f85bbed654aa93c78ab768726f791 /sound | |
parent | b2a565d8373118e9ea306a916c75955ec92428fe (diff) | |
download | kernel_samsung_tuna-0f1d15dbcc0ac9927278fb6d8541c390e86d9167.zip kernel_samsung_tuna-0f1d15dbcc0ac9927278fb6d8541c390e86d9167.tar.gz kernel_samsung_tuna-0f1d15dbcc0ac9927278fb6d8541c390e86d9167.tar.bz2 |
ASoC: OMAP ABE: Update ports in order to support 44.1 KHz
With new ABE release the driver can support now 44.1 on MM DL
and TONES DL port. For MM DL port a true interpolation is done.
For TONES DL the ratio 12/11 is used.
Change-Id: Ic433e1576e7c86b1477c1854816caf5cefdceeed
Signed-off-by: Sebastien Guiriec <s-guiriec@ti.com>
Signed-off-by: Chris Kelly <c-kelly@ti.com>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/omap/omap-abe-dsp.c | 3 | ||||
-rw-r--r-- | sound/soc/omap/omap-abe.c | 4 |
2 files changed, 2 insertions, 5 deletions
diff --git a/sound/soc/omap/omap-abe-dsp.c b/sound/soc/omap/omap-abe-dsp.c index 425fd04..23003dd 100644 --- a/sound/soc/omap/omap-abe-dsp.c +++ b/sound/soc/omap/omap-abe-dsp.c @@ -2253,9 +2253,6 @@ static int aess_hw_params(struct snd_pcm_substream *substream, else format.samp_format = STEREO_16_16; - if (format.f == 44100) - abe_write_event_generator(EVENT_44100); - period_size = params_period_bytes(params); /*Adding ping pong buffer subroutine*/ diff --git a/sound/soc/omap/omap-abe.c b/sound/soc/omap/omap-abe.c index 943f9d6..86a0eae 100644 --- a/sound/soc/omap/omap-abe.c +++ b/sound/soc/omap/omap-abe.c @@ -1425,7 +1425,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = { .stream_name = "MultiMedia1 Playback", .channels_min = 1, .channels_max = 2, - .rates = SNDRV_PCM_RATE_48000, + .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100, .formats = OMAP_ABE_FORMATS, }, .capture = { @@ -1478,7 +1478,7 @@ static struct snd_soc_dai_driver omap_abe_dai[] = { .stream_name = "Tones Playback", .channels_min = 1, .channels_max = 2, - .rates = SNDRV_PCM_RATE_48000, + .rates = SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_44100, .formats = OMAP_ABE_FORMATS, }, .ops = &omap_abe_dai_ops, |