Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202514
b: refs/heads/master
c: 77e01d6
h: refs/heads/master
v: v3
  • Loading branch information
Hong Liu authored and Matthew Garrett committed Aug 3, 2010
1 parent a8e44a7 commit 5a284ec
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 215c330fe92be8d9f74bc292ea085dbe2ace6bf5
refs/heads/master: 77e01d6d177f060f466417fa32fc3e1381a73502
5 changes: 4 additions & 1 deletion trunk/drivers/platform/x86/intel_scu_ipc.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,10 @@ static inline int busy_loop(void) /* Wait till scu status is busy */
return -ETIMEDOUT;
}
}
return (status >> 1) & 1;
if ((status >> 1) & 1)
return -EIO;

return 0;
}

/* Read/Write power control(PMIC in Langwell, MSIC in PenWell) registers */
Expand Down

0 comments on commit 5a284ec

Please sign in to comment.