Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 358647
b: refs/heads/master
c: 99eb9d8
h: refs/heads/master
i:
  358645: fffade5
  358643: cb14072
  358639: 47bc829
v: v3
  • Loading branch information
Guennadi Liakhovetski authored and Chris Ball committed Feb 11, 2013
1 parent 80c1b9e commit c0be85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 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: eae309836509496c981ceaebdef57041de86ecd4
refs/heads/master: 99eb9d8df996fc1695d4de687873875fbd8f6719
9 changes: 2 additions & 7 deletions trunk/drivers/mmc/host/sh_mmcif.c
Original file line number Diff line number Diff line change
Expand Up @@ -542,10 +542,7 @@ static bool sh_mmcif_next_block(struct sh_mmcif_host *host, u32 *p)
host->pio_ptr = p;
}

if (host->sg_idx == data->sg_len)
return false;

return true;
return host->sg_idx != data->sg_len;
}

static void sh_mmcif_single_read(struct sh_mmcif_host *host,
Expand Down Expand Up @@ -1071,9 +1068,7 @@ static bool sh_mmcif_end_cmd(struct sh_mmcif_host *host)

if (!host->dma_active) {
data->error = sh_mmcif_data_trans(host, host->mrq, cmd->opcode);
if (!data->error)
return true;
return false;
return !data->error;
}

/* Running in the IRQ thread, can sleep */
Expand Down

0 comments on commit c0be85f

Please sign in to comment.