Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 226463
b: refs/heads/master
c: 6722a72
h: refs/heads/master
i:
  226461: 7c2b564
  226459: 86f0229
  226455: 072f2fa
  226447: 8d55bd4
  226431: b554c27
v: v3
  • Loading branch information
Shubhrajyoti D authored and Tony Lindgren committed Dec 8, 2010
1 parent 9bc71b7 commit 5a12dd0
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 5f3b7284cb35c9e3eead279cb35f017b9735bb43
refs/heads/master: 6722a7238d062b747fc03b35d3371b935bcc965d
8 changes: 4 additions & 4 deletions trunk/arch/arm/plat-omap/mcbsp.c
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ int omap_mcbsp_request(unsigned int id)
goto err_kfree;
}

mcbsp->free = 0;
mcbsp->free = false;
mcbsp->reg_cache = reg_cache;
spin_unlock(&mcbsp->lock);

Expand Down Expand Up @@ -815,7 +815,7 @@ int omap_mcbsp_request(unsigned int id)
clk_disable(mcbsp->iclk);

spin_lock(&mcbsp->lock);
mcbsp->free = 1;
mcbsp->free = true;
mcbsp->reg_cache = NULL;
err_kfree:
spin_unlock(&mcbsp->lock);
Expand Down Expand Up @@ -858,7 +858,7 @@ void omap_mcbsp_free(unsigned int id)
if (mcbsp->free)
dev_err(mcbsp->dev, "McBSP%d was not reserved\n", mcbsp->id);
else
mcbsp->free = 1;
mcbsp->free = true;
mcbsp->reg_cache = NULL;
spin_unlock(&mcbsp->lock);

Expand Down Expand Up @@ -1771,7 +1771,7 @@ static int __devinit omap_mcbsp_probe(struct platform_device *pdev)

spin_lock_init(&mcbsp->lock);
mcbsp->id = id + 1;
mcbsp->free = 1;
mcbsp->free = true;
mcbsp->dma_tx_lch = -1;
mcbsp->dma_rx_lch = -1;

Expand Down

0 comments on commit 5a12dd0

Please sign in to comment.