projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ASoC: pcm179x: Support continuous rates
[cascardo/linux.git]
/
sound
/
soc
/
codecs
/
pcm179x.c
diff --git
a/sound/soc/codecs/pcm179x.c
b/sound/soc/codecs/pcm179x.c
index
8f20f70
..
06a6657
100644
(file)
--- a/
sound/soc/codecs/pcm179x.c
+++ b/
sound/soc/codecs/pcm179x.c
@@
-187,7
+187,9
@@
static struct snd_soc_dai_driver pcm179x_dai = {
.stream_name = "Playback",
.channels_min = 2,
.channels_max = 2,
- .rates = PCM1792A_RATES,
+ .rates = SNDRV_PCM_RATE_CONTINUOUS,
+ .rate_min = 10000,
+ .rate_max = 200000,
.formats = PCM1792A_FORMATS, },
.ops = &pcm179x_dai_ops,
};