projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6b9fbb0
)
ASoC: rl6231: Add new supports on rl6231
author
derek.fang
<derek.fang@realtek.com>
Fri, 12 Jun 2020 05:15:22 +0000
(13:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Mon, 15 Jun 2020 19:58:36 +0000
(20:58 +0100)
Add pll preset maps for Realtek codecs' PLL2 freq conversions.
Signed-off-by: derek.fang <derek.fang@realtek.com>
Link:
https://lore.kernel.org/r/1591938925-1070-2-git-send-email-derek.fang@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rl6231.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rl6231.c
b/sound/soc/codecs/rl6231.c
index
8c9daf3
..
d1fc170
100644
(file)
--- a/
sound/soc/codecs/rl6231.c
+++ b/
sound/soc/codecs/rl6231.c
@@
-103,7
+103,9
@@
struct pll_calc_map {
static const struct pll_calc_map pll_preset_table[] = {
{19200000, 4096000, 23, 14, 1, false, false},
{19200000, 24576000, 3, 30, 3, false, false},
+ {48000000, 3840000, 23, 2, 0, false, false},
{3840000, 24576000, 3, 30, 0, true, false},
+ {3840000, 22579200, 3, 5, 0, true, false},
};
static unsigned int find_best_div(unsigned int in,