diff options
author | Eddie James <[email protected]> | 2020-07-09 14:57:06 -0500 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2020-07-13 12:17:34 +0200 |
commit | ebd4050c6144b38098d8eed34df461e5e3fa82a9 (patch) | |
tree | 18acf4eab9daa29a97dd407fb2d043a93476a485 /tools/perf/util/c++/clang.h | |
parent | 11ba468877bb23f28956a35e896356252d63c983 (diff) |
mmc: sdhci-of-aspeed: Fix clock divider calculation
When calculating the clock divider, start dividing at 2 instead of 1.
The divider is divided by two at the end of the calculation, so starting
at 1 may result in a divider of 0, which shouldn't happen.
Signed-off-by: Eddie James <[email protected]>
Reviewed-by: Andrew Jeffery <[email protected]>
Acked-by: Joel Stanley <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Cc: [email protected] # v5.4+
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/util/c++/clang.h')
0 files changed, 0 insertions, 0 deletions