diff options
author | Viresh Kumar <[email protected]> | 2012-04-19 14:44:21 +0530 |
---|---|---|
committer | Grant Likely <[email protected]> | 2012-04-27 10:47:51 -0600 |
commit | 5eb806a3a68920a9f373f18b03fa14852047e62b (patch) | |
tree | 0a5ecac4d4b8c729cefe70c6f406c17f274774db /lib/mpi/mpi-inline.c | |
parent | eb798c641a34ae9cee9fcacfbe5dd40bd7777607 (diff) |
spi/pl022: Fix calculate_effective_freq()
calculate_effective_freq() was still not optimized and there were cases when it
returned without error and with values of cpsr and scr as zero.
Also, the variable named found is not used well.
This patch targets to optimize and correct this routine. Tested for SPEAr.
Signed-off-by: Viresh Kumar <[email protected]>
Tested-by: Vinit Kamalaksha Shenoy <[email protected]>
Acked-by: Linus Walleij <[email protected]>
Signed-off-by: Grant Likely <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.c')
0 files changed, 0 insertions, 0 deletions