Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 157672
b: refs/heads/master
c: 0182dcc
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown committed Aug 17, 2009
1 parent 021dec7 commit 6f63414
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 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: 1ca04065c3569beb42b9376952df8c96f430f753
refs/heads/master: 0182dcc52c759d005cc3e65deadee9f166cdd7d0
4 changes: 1 addition & 3 deletions trunk/sound/soc/codecs/wm8993.c
Original file line number Diff line number Diff line change
Expand Up @@ -519,16 +519,14 @@ static int configure_clock(struct snd_soc_codec *codec)
dev_dbg(codec->dev, "Using %dHz MCLK\n", wm8993->mclk_rate);

reg = wm8993_read(codec, WM8993_CLOCKING_2);
reg &= ~WM8993_SYSCLK_SRC;
reg &= ~(WM8993_MCLK_DIV | WM8993_SYSCLK_SRC);
if (wm8993->mclk_rate > 13500000) {
reg |= WM8993_MCLK_DIV;
wm8993->sysclk_rate = wm8993->mclk_rate / 2;
} else {
reg &= ~WM8993_MCLK_DIV;
wm8993->sysclk_rate = wm8993->mclk_rate;
}
reg &= ~WM8993_MCLK_DIV;
reg &= ~(WM8993_MCLK_DIV | WM8993_SYSCLK_SRC);
wm8993_write(codec, WM8993_CLOCKING_2, reg);
break;

Expand Down

0 comments on commit 6f63414

Please sign in to comment.