Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 132863
b: refs/heads/master
c: e611bd8
h: refs/heads/master
i:
  132861: 5be4128
  132859: f17605a
  132855: a842969
  132847: 28d0346
  132831: e0f880b
  132799: fd7171e
  132735: b30c5ff
  132607: 305e076
v: v3
  • Loading branch information
Mark Brown committed Feb 24, 2009
1 parent 1e1fc03 commit 6c90851
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c2bac1606a937d4700f8fdd8e051a4c49593c41b
refs/heads/master: e611bd82441130991d7f4600dfd4632cebd417c5
5 changes: 5 additions & 0 deletions trunk/sound/soc/codecs/wm8753.c
Original file line number Diff line number Diff line change
Expand Up @@ -1526,6 +1526,11 @@ static int wm8753_resume(struct platform_device *pdev)
for (i = 0; i < ARRAY_SIZE(wm8753_reg); i++) {
if (i + 1 == WM8753_RESET)
continue;

/* No point in writing hardware default values back */
if (cache[i] == wm8753_reg[i])
continue;

data[0] = ((i + 1) << 1) | ((cache[i] >> 8) & 0x0001);
data[1] = cache[i] & 0x00ff;
codec->hw_write(codec->control_data, data, 2);
Expand Down

0 comments on commit 6c90851

Please sign in to comment.