ac97.c (dee89c4d94433520e4e3977ae203d4cfbfe385fb) ac97.c (3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54)
1/*
2 * ac97.c -- ALSA Soc AC97 codec support
3 *
4 * Copyright 2005 Wolfson Microelectronics PLC.
5 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 29 unchanged lines hidden (view full) ---

38}
39
40#define STD_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
41 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
42 SNDRV_PCM_RATE_48000)
43
44struct snd_soc_dai ac97_dai = {
45 .name = "AC97 HiFi",
1/*
2 * ac97.c -- ALSA Soc AC97 codec support
3 *
4 * Copyright 2005 Wolfson Microelectronics PLC.
5 * Author: Liam Girdwood <lrg@slimlogic.co.uk>
6 *
7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the

--- 29 unchanged lines hidden (view full) ---

38}
39
40#define STD_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
41 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
42 SNDRV_PCM_RATE_48000)
43
44struct snd_soc_dai ac97_dai = {
45 .name = "AC97 HiFi",
46 .type = SND_SOC_DAI_AC97,
46 .ac97_control = 1,
47 .playback = {
48 .stream_name = "AC97 Playback",
49 .channels_min = 1,
50 .channels_max = 2,
51 .rates = STD_AC97_RATES,
52 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
53 .capture = {
54 .stream_name = "AC97 Capture",

--- 126 unchanged lines hidden ---
47 .playback = {
48 .stream_name = "AC97 Playback",
49 .channels_min = 1,
50 .channels_max = 2,
51 .rates = STD_AC97_RATES,
52 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
53 .capture = {
54 .stream_name = "AC97 Capture",

--- 126 unchanged lines hidden ---