mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-20 03:04:01 +08:00
[MIPS] IP22: fix wrong argument order
Fix wrong argument order; this is just a minimal fix for the half baked redadb/writeb() conversion. Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
0ba8bc60ca
commit
01e9943c79
@ -114,8 +114,8 @@ static unsigned long dosample(void)
|
|||||||
} while (msb);
|
} while (msb);
|
||||||
|
|
||||||
/* Stop the counter. */
|
/* Stop the counter. */
|
||||||
writeb(sgint->tcword, (SGINT_TCWORD_CNT2 | SGINT_TCWORD_CALL |
|
writeb(SGINT_TCWORD_CNT2 | SGINT_TCWORD_CALL | SGINT_TCWORD_MSWST,
|
||||||
SGINT_TCWORD_MSWST));
|
&sgint->tcword);
|
||||||
/*
|
/*
|
||||||
* Return the difference, this is how far the r4k counter increments
|
* Return the difference, this is how far the r4k counter increments
|
||||||
* for every 1/HZ seconds. We round off the nearest 1 MHz of master
|
* for every 1/HZ seconds. We round off the nearest 1 MHz of master
|
||||||
|
Loading…
Reference in New Issue
Block a user