Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 325017
b: refs/heads/master
c: cdca219
h: refs/heads/master
i:
  325015: 08fd659
v: v3
  • Loading branch information
Toshiaki Yamane authored and Greg Kroah-Hartman committed Sep 10, 2012
1 parent 8ce3207 commit d552796
Show file tree
Hide file tree
Showing 2 changed files with 5 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: a616acb42f934d62e466937488fb60711ee16561
refs/heads/master: cdca2196cd4793c157ddbf49f4f682a271510720
10 changes: 4 additions & 6 deletions trunk/drivers/staging/rts_pstor/sd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1459,18 +1459,16 @@ static int mmc_ddr_tunning_rx_cmd(struct rtsx_chip *chip, u8 sample_point)
int retval;
u8 cmd[5], bus_width;

if (CHK_MMC_8BIT(sd_card)) {
if (CHK_MMC_8BIT(sd_card))
bus_width = SD_BUS_WIDTH_8;
} else if (CHK_MMC_4BIT(sd_card)) {
else if (CHK_MMC_4BIT(sd_card))
bus_width = SD_BUS_WIDTH_4;
} else {
else
bus_width = SD_BUS_WIDTH_1;
}

retval = sd_change_phase(chip, sample_point, TUNE_RX);
if (retval != STATUS_SUCCESS) {
if (retval != STATUS_SUCCESS)
TRACE_RET(chip, STATUS_FAIL);
}

RTSX_DEBUGP("mmc ddr tuning rx\n");

Expand Down

0 comments on commit d552796

Please sign in to comment.