Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193401
b: refs/heads/master
c: 7d48a6a
h: refs/heads/master
i:
  193399: f817bf6
v: v3
  • Loading branch information
Mark Brown committed Apr 20, 2010
1 parent ffb2451 commit 213b0ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 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: 136ff2a272ad4bee33bf85f8c490ff8a2dd08f96
refs/heads/master: 7d48a6acbcf5325a2551e948bd1557a46dec4c76
11 changes: 10 additions & 1 deletion trunk/sound/soc/codecs/wm8994.c
Original file line number Diff line number Diff line change
Expand Up @@ -2784,9 +2784,18 @@ static int wm8994_get_fll_config(struct fll_div *fll,

if (freq_in > 1000000) {
fll->fll_fratio = 0;
} else {
} else if (freq_in > 256000) {
fll->fll_fratio = 1;
freq_in *= 2;
} else if (freq_in > 128000) {
fll->fll_fratio = 2;
freq_in *= 4;
} else if (freq_in > 64000) {
fll->fll_fratio = 3;
freq_in *= 8;
} else {
fll->fll_fratio = 4;
freq_in *= 16;
}
pr_debug("FLL_FRATIO=%d, Fref=%dHz\n", fll->fll_fratio, freq_in);

Expand Down

0 comments on commit 213b0ed

Please sign in to comment.