Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312838
b: refs/heads/master
c: b63b5e8
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and Chris Ball committed Jul 21, 2012
1 parent 02e0306 commit 26a8c99
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 68737043bb155b42d54943d25153b901fd16e535
refs/heads/master: b63b5e819d5b21ae493c17c356018ffa98d3ee1c
2 changes: 1 addition & 1 deletion trunk/drivers/mmc/core/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ static int mmc_read_ssr(struct mmc_card *card)
* bitfield positions accordingly.
*/
au = UNSTUFF_BITS(ssr, 428 - 384, 4);
if (au > 0 || au <= 9) {
if (au > 0 && au <= 9) {
card->ssr.au = 1 << (au + 4);
es = UNSTUFF_BITS(ssr, 408 - 384, 16);
et = UNSTUFF_BITS(ssr, 402 - 384, 6);
Expand Down

0 comments on commit 26a8c99

Please sign in to comment.