wm9712.c (39639faba98eafeb327a30bc10b7d921c398a59a) wm9712.c (3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54)
1/*
2 * wm9712.c -- ALSA Soc WM9712 codec support
3 *
4 * Copyright 2006 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

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

530
531#define WM9712_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
532 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
533 SNDRV_PCM_RATE_48000)
534
535struct snd_soc_dai wm9712_dai[] = {
536{
537 .name = "AC97 HiFi",
1/*
2 * wm9712.c -- ALSA Soc WM9712 codec support
3 *
4 * Copyright 2006 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

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

530
531#define WM9712_AC97_RATES (SNDRV_PCM_RATE_8000 | SNDRV_PCM_RATE_11025 |\
532 SNDRV_PCM_RATE_22050 | SNDRV_PCM_RATE_44100 |\
533 SNDRV_PCM_RATE_48000)
534
535struct snd_soc_dai wm9712_dai[] = {
536{
537 .name = "AC97 HiFi",
538 .type = SND_SOC_DAI_AC97_BUS,
538 .ac97_control = 1,
539 .playback = {
540 .stream_name = "HiFi Playback",
541 .channels_min = 1,
542 .channels_max = 2,
543 .rates = WM9712_AC97_RATES,
544 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
545 .capture = {
546 .stream_name = "HiFi Capture",

--- 206 unchanged lines hidden ---
539 .playback = {
540 .stream_name = "HiFi Playback",
541 .channels_min = 1,
542 .channels_max = 2,
543 .rates = WM9712_AC97_RATES,
544 .formats = SNDRV_PCM_FMTBIT_S16_LE,},
545 .capture = {
546 .stream_name = "HiFi Capture",

--- 206 unchanged lines hidden ---