Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325041
b: refs/heads/master
c: b324db1
h: refs/heads/master
i:
  325039: 9a2923e
v: v3
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 231c63d commit cb41be2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 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: 3712cbd9435a5f8c2885193e1d894525f7716cad
refs/heads/master: b324db1df36ddf352d5824d1ccf8c987e124e9d2
6 changes: 2 additions & 4 deletions trunk/drivers/staging/rts_pstor/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3151,9 +3151,8 @@ static inline int sd_auto_tune_clock(struct rtsx_chip *chip)
int retval;

if (chip->asic_code) {
if (sd_card->sd_clock > 30) {
if (sd_card->sd_clock > 30)
sd_card->sd_clock -= 20;
}
} else {
switch (sd_card->sd_clock) {
case CLK_200:
Expand Down Expand Up @@ -3186,9 +3185,8 @@ static inline int sd_auto_tune_clock(struct rtsx_chip *chip)
}

retval = sd_switch_clock(chip);
if (retval != STATUS_SUCCESS) {
if (retval != STATUS_SUCCESS)
TRACE_RET(chip, STATUS_FAIL);
}

return STATUS_SUCCESS;
}
Expand Down

0 comments on commit cb41be2

Please sign in to comment.