pcm3008.c (1c0090c280da18f79e3e94168b5f3bfe4eb5f1c8) | pcm3008.c (3ba9e10a6d3b6abf5f5952572cff8f8d5a35ae54) |
---|---|
1/* 2 * ALSA Soc PCM3008 codec support 3 * 4 * Author: Hugo Villeneuve 5 * Copyright (C) 2008 Lyrtech inc 6 * 7 * Based on AC97 Soc codec, original copyright follow: 8 * Copyright 2005 Wolfson Microelectronics PLC. --- 19 unchanged lines hidden (view full) --- 28 29#define PCM3008_VERSION "0.2" 30 31#define PCM3008_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ 32 SNDRV_PCM_RATE_48000) 33 34struct snd_soc_dai pcm3008_dai = { 35 .name = "PCM3008 HiFi", | 1/* 2 * ALSA Soc PCM3008 codec support 3 * 4 * Author: Hugo Villeneuve 5 * Copyright (C) 2008 Lyrtech inc 6 * 7 * Based on AC97 Soc codec, original copyright follow: 8 * Copyright 2005 Wolfson Microelectronics PLC. --- 19 unchanged lines hidden (view full) --- 28 29#define PCM3008_VERSION "0.2" 30 31#define PCM3008_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 | \ 32 SNDRV_PCM_RATE_48000) 33 34struct snd_soc_dai pcm3008_dai = { 35 .name = "PCM3008 HiFi", |
36 .type = SND_SOC_DAI_I2S, | |
37 .playback = { 38 .stream_name = "PCM3008 Playback", 39 .channels_min = 1, 40 .channels_max = 2, 41 .rates = PCM3008_RATES, 42 .formats = SNDRV_PCM_FMTBIT_S16_LE, 43 }, 44 .capture = { --- 157 unchanged lines hidden --- | 36 .playback = { 37 .stream_name = "PCM3008 Playback", 38 .channels_min = 1, 39 .channels_max = 2, 40 .rates = PCM3008_RATES, 41 .formats = SNDRV_PCM_FMTBIT_S16_LE, 42 }, 43 .capture = { --- 157 unchanged lines hidden --- |