forked from luck/tmp_suning_uos_patched
ASoC: enable 192KHz support for McASP
Signed-off-by: Daniel Mack <zonque@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
This commit is contained in:
parent
ddffeb8c4d
commit
393a53cbcf
@ -23,7 +23,7 @@
|
||||
|
||||
#include "davinci-pcm.h"
|
||||
|
||||
#define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_96000
|
||||
#define DAVINCI_MCASP_RATES SNDRV_PCM_RATE_8000_192000
|
||||
#define DAVINCI_MCASP_I2S_DAI 0
|
||||
#define DAVINCI_MCASP_DIT_DAI 1
|
||||
|
||||
|
@ -67,13 +67,9 @@ static struct snd_pcm_hardware pcm_hardware_playback = {
|
||||
SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_RESUME|
|
||||
SNDRV_PCM_INFO_BATCH),
|
||||
.formats = DAVINCI_PCM_FMTBITS,
|
||||
.rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
|
||||
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |
|
||||
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
|
||||
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
|
||||
SNDRV_PCM_RATE_KNOT),
|
||||
.rates = SNDRV_PCM_RATE_8000_192000 | SNDRV_PCM_RATE_KNOT,
|
||||
.rate_min = 8000,
|
||||
.rate_max = 96000,
|
||||
.rate_max = 192000,
|
||||
.channels_min = 2,
|
||||
.channels_max = 384,
|
||||
.buffer_bytes_max = 128 * 1024,
|
||||
@ -90,13 +86,9 @@ static struct snd_pcm_hardware pcm_hardware_capture = {
|
||||
SNDRV_PCM_INFO_PAUSE |
|
||||
SNDRV_PCM_INFO_BATCH),
|
||||
.formats = DAVINCI_PCM_FMTBITS,
|
||||
.rates = (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_16000 |
|
||||
SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_32000 |
|
||||
SNDRV_PCM_RATE_44100 | SNDRV_PCM_RATE_48000 |
|
||||
SNDRV_PCM_RATE_88200 | SNDRV_PCM_RATE_96000 |
|
||||
SNDRV_PCM_RATE_KNOT),
|
||||
.rates = SNDRV_PCM_RATE_8000_192000 | SNDRV_PCM_RATE_KNOT,
|
||||
.rate_min = 8000,
|
||||
.rate_max = 96000,
|
||||
.rate_max = 192000,
|
||||
.channels_min = 2,
|
||||
.channels_max = 384,
|
||||
.buffer_bytes_max = 128 * 1024,
|
||||
|
Loading…
Reference in New Issue
Block a user