projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2458c37
)
ASoC: rockchip-max98090: Allow more sample rates
author
Caesar Wang
<wxt@rock-chips.com>
Fri, 6 Nov 2015 11:38:15 +0000
(19:38 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 16 Nov 2015 10:10:24 +0000
(10:10 +0000)
The MAX98090 audio codec support sample rates from 8 to 96 kHz
as the dai claim.
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_max98090.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/soc/rockchip/rockchip_max98090.c
b/sound/soc/rockchip/rockchip_max98090.c
index 26567b10393a5074e8d9b217f2dcd700834420dd..543610282cdb05c007b5fbe52b0c2f77435b3a83 100644
(file)
--- a/
sound/soc/rockchip/rockchip_max98090.c
+++ b/
sound/soc/rockchip/rockchip_max98090.c
@@
-80,11
+80,17
@@
static int rk_aif1_hw_params(struct snd_pcm_substream *substream,
switch (params_rate(params)) {
case 8000:
case 16000:
+ case 24000:
+ case 32000:
case 48000:
+ case 64000:
case 96000:
mclk = 12288000;
break;
+ case 11025:
+ case 22050:
case 44100:
+ case 88200:
mclk = 11289600;
break;
default: