Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208574
b: refs/heads/master
c: 988257c
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Shishkin authored and Russell King committed Aug 10, 2010
1 parent 8ec9b88 commit aa65dc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 9e354ea8e0710baf05804168fdabe90231b3d363
refs/heads/master: 988257cfcbc468cb26b3addfcab1d0187c4e2399
4 changes: 3 additions & 1 deletion trunk/arch/arm/kernel/etm.c
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,9 @@ static int __init etm_probe(struct amba_device *dev, struct amba_id *id)
t->etm_portsz = 1;

etm_unlock(t);
ret = etm_readl(t, ETMMR_PDSR);
(void)etm_readl(t, ETMMR_PDSR);
/* dummy first read */
(void)etm_readl(&tracer, ETMMR_OSSRR);

t->ncmppairs = etm_readl(t, ETMR_CONFCODE) & 0xf;
etm_writel(t, 0x440, ETMR_CTRL);
Expand Down

0 comments on commit aa65dc0

Please sign in to comment.