pxa2xx-i2s.c (dee89c4d94433520e4e3977ae203d4cfbfe385fb) | pxa2xx-i2s.c (3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54) |
---|---|
1/* 2 * pxa2xx-i2s.c -- ALSA Soc Audio Layer 3 * 4 * Copyright 2005 Wolfson Microelectronics PLC. 5 * Author: Liam Girdwood 6 * lrg@slimlogic.co.uk 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 326 unchanged lines hidden (view full) --- 335 336#define PXA2XX_I2S_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\ 337 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | \ 338 SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000) 339 340struct snd_soc_dai pxa_i2s_dai = { 341 .name = "pxa2xx-i2s", 342 .id = 0, | 1/* 2 * pxa2xx-i2s.c -- ALSA Soc Audio Layer 3 * 4 * Copyright 2005 Wolfson Microelectronics PLC. 5 * Author: Liam Girdwood 6 * lrg@slimlogic.co.uk 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 326 unchanged lines hidden (view full) --- 335 336#define PXA2XX_I2S_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\ 337 SNDRV_PCM_RATE_16000 | SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 | \ 338 SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_96000) 339 340struct snd_soc_dai pxa_i2s_dai = { 341 .name = "pxa2xx-i2s", 342 .id = 0, |
343 .type = SND_SOC_DAI_I2S, | |
344 .suspend = pxa2xx_i2s_suspend, 345 .resume = pxa2xx_i2s_resume, 346 .playback = { 347 .channels_min = 2, 348 .channels_max = 2, 349 .rates = PXA2XX_I2S_RATES, 350 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 351 .capture = { --- 62 unchanged lines hidden --- | 343 .suspend = pxa2xx_i2s_suspend, 344 .resume = pxa2xx_i2s_resume, 345 .playback = { 346 .channels_min = 2, 347 .channels_max = 2, 348 .rates = PXA2XX_I2S_RATES, 349 .formats = SNDRV_PCM_FMTBIT_S16_LE,}, 350 .capture = { --- 62 unchanged lines hidden --- |