Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 270592
b: refs/heads/master
c: 0016226
h: refs/heads/master
v: v3
  • Loading branch information
Timur Tabi authored and Mark Brown committed Sep 16, 2011
1 parent 70662e0 commit 10bb641
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0547d0f3dadfd9a3eb8523630fef52612ab14de4
refs/heads/master: 0016226d03fa8d695fb7b933ea1810503d774820
13 changes: 6 additions & 7 deletions trunk/sound/soc/codecs/wm8776.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,11 +322,6 @@ static int wm8776_set_bias_level(struct snd_soc_codec *codec,
return 0;
}

#define WM8776_RATES (SNDRV_PCM_RATE_32000 | SNDRV_PCM_RATE_44100 |\
SNDRV_PCM_RATE_48000 | SNDRV_PCM_RATE_88200 |\
SNDRV_PCM_RATE_96000)


#define WM8776_FORMATS (SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_S20_3LE |\
SNDRV_PCM_FMTBIT_S24_LE | SNDRV_PCM_FMTBIT_S32_LE)

Expand All @@ -351,7 +346,9 @@ static struct snd_soc_dai_driver wm8776_dai[] = {
.stream_name = "Playback",
.channels_min = 2,
.channels_max = 2,
.rates = WM8776_RATES,
.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 32000,
.rate_max = 192000,
.formats = WM8776_FORMATS,
},
.ops = &wm8776_dac_ops,
Expand All @@ -363,7 +360,9 @@ static struct snd_soc_dai_driver wm8776_dai[] = {
.stream_name = "Capture",
.channels_min = 2,
.channels_max = 2,
.rates = WM8776_RATES,
.rates = SNDRV_PCM_RATE_CONTINUOUS,
.rate_min = 32000,
.rate_max = 96000,
.formats = WM8776_FORMATS,
},
.ops = &wm8776_adc_ops,
Expand Down

0 comments on commit 10bb641

Please sign in to comment.