Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325040
b: refs/heads/master
c: 3712cbd
h: refs/heads/master
v: v3
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 9a2923e commit 231c63d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 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: 629ec906db57eb339766c9018e2fc42dc5329fc5
refs/heads/master: 3712cbd9435a5f8c2885193e1d894525f7716cad
11 changes: 5 additions & 6 deletions trunk/drivers/staging/rts_pstor/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -3127,19 +3127,18 @@ void sd_stop_seq_mode(struct rtsx_chip *chip)

if (sd_card->seq_mode) {
retval = sd_switch_clock(chip);
if (retval != STATUS_SUCCESS) {
if (retval != STATUS_SUCCESS)
return;
}

retval = sd_send_cmd_get_rsp(chip, STOP_TRANSMISSION, 0,
SD_RSP_TYPE_R1b, NULL, 0);
if (retval != STATUS_SUCCESS) {
if (retval != STATUS_SUCCESS)
sd_set_err_code(chip, SD_STS_ERR);
}

retval = sd_wait_state_data_ready(chip, 0x08, 1, 1000);
if (retval != STATUS_SUCCESS) {
if (retval != STATUS_SUCCESS)
sd_set_err_code(chip, SD_STS_ERR);
}

sd_card->seq_mode = 0;

rtsx_write_register(chip, RBCTL, RB_FLUSH, RB_FLUSH);
Expand Down

0 comments on commit 231c63d

Please sign in to comment.