diff options
| author | Tomasz Figa <[email protected]> | 2014-01-11 22:39:04 +0100 |
|---|---|---|
| committer | Chris Ball <[email protected]> | 2014-03-03 10:23:32 -0500 |
| commit | 222a13c5d0c67333e443a1ea2fcc746ad61f8d68 (patch) | |
| tree | 0be436987c782fb63333952c2ca2a1a305b7fa84 /scripts/objdiff | |
| parent | 8f4b78d9bb042aacce43e0213c727da861a128f6 (diff) | |
mmc: sdhci-s3c: Simplify min/max clock calculation
This patch reimplements functions calculating minimum and maximum clock
rates to leverage clock rate cache introduced by previous patches.
In addition, the calculation is simplified to just comparing input
clock rates (max case) or input clock rates divided by maximum divisor
(min case), which is basically what the original code did, but with much
more unnecessary work.
Signed-off-by: Tomasz Figa <[email protected]>
Tested-by: Heiko Stuebner <[email protected]>
Acked-by: Heiko Stuebner <[email protected]>
Tested-by: Jaehoon Chung <[email protected]>
Acked-by; Jaehoon Chung <[email protected]>
Signed-off-by: Chris Ball <[email protected]>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions