Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 218786
b: refs/heads/master
c: f57b407
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Dan Williams committed Oct 7, 2010
1 parent d772bba commit 3ce8eb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 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: 3c0f24019f69c5199996ed9c76d05c92c6186ba8
refs/heads/master: f57b407cfd5fbd70251e9fa0ea7aa083ac06d25c
8 changes: 5 additions & 3 deletions trunk/drivers/dma/ste_dma40.c
Original file line number Diff line number Diff line change
Expand Up @@ -2449,9 +2449,11 @@ static int __init d40_phy_res_init(struct d40_base *base)

/* Mark disabled channels as occupied */
for (i = 0; base->plat_data->disabled_channels[i] != -1; i++) {
base->phy_res[i].allocated_src = D40_ALLOC_PHY;
base->phy_res[i].allocated_dst = D40_ALLOC_PHY;
num_phy_chans_avail--;
int chan = base->plat_data->disabled_channels[i];

base->phy_res[chan].allocated_src = D40_ALLOC_PHY;
base->phy_res[chan].allocated_dst = D40_ALLOC_PHY;
num_phy_chans_avail--;
}

dev_info(base->dev, "%d of %d physical DMA channels available\n",
Expand Down

0 comments on commit 3ce8eb6

Please sign in to comment.