Date:2010-05-23 15:40:28 (10 years 1 month ago)
Author:Maarten ter Huurne
Commit:43d2cfc9a5d9d97d03ba0658ec093540ae79c68b
Message:jz4740-i2s: Declare that both the JZ4740 AIC and its internal codec are capable of 48 kHz output.

Files: sound/soc/codecs/jzcodec.c (1 diff)
sound/soc/jz4740/jz4740-i2s.c (1 diff)

Change Details

sound/soc/codecs/jzcodec.c
267267        .stream_name = "Playback",
268268        .channels_min = 2,
269269        .channels_max = 2,
270        .rates = SNDRV_PCM_RATE_8000_44100,
270        .rates = SNDRV_PCM_RATE_8000_48000,
271271        .formats = SNDRV_PCM_FMTBIT_S16_LE,
272272    },
273273    .capture = {
274274        .stream_name = "Capture",
275275        .channels_min = 2,
276276        .channels_max = 2,
277        .rates = SNDRV_PCM_RATE_8000_44100,
277        .rates = SNDRV_PCM_RATE_8000_48000,
278278        .formats = SNDRV_PCM_FMTBIT_S16_LE,
279279    },
280280    .ops = &jz_codec_dai_ops,
sound/soc/jz4740/jz4740-i2s.c
441441    .playback = {
442442        .channels_min = 1,
443443        .channels_max = 2,
444        .rates = SNDRV_PCM_RATE_8000_44100,
444        .rates = SNDRV_PCM_RATE_8000_48000,
445445        .formats = JZ4740_I2S_FMTS,
446446    },
447447    .capture = {
448448        .channels_min = 2,
449449        .channels_max = 2,
450        .rates = SNDRV_PCM_RATE_8000_44100,
450        .rates = SNDRV_PCM_RATE_8000_48000,
451451        .formats = JZ4740_I2S_FMTS,
452452    },
453453    .symmetric_rates = 1,

Archive Download the corresponding diff file



interactive