diff options
author | Douglas Anderson <[email protected]> | 2020-12-14 09:21:14 -0800 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-02-01 11:54:42 +0100 |
commit | a8cd989e1a57dff3994cd113650afb0223c44ec6 (patch) | |
tree | 585dbdfb0df534d71359f7e82adfcfbd160a667f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 3536b82e5853ec302c1803896c126725afb6d57c (diff) |
mmc: sdhci-msm: Warn about overclocking SD/MMC
As talked about in commit 5e4b7e82d497 ("clk: qcom: gcc-sdm845: Use
floor ops for sdcc clks"), most clocks handled by the Qualcomm clock
drivers are rounded _up_ by default instead of down. We should make
sure SD/MMC clocks are always rounded down in the clock drivers.
Let's add a warning in the Qualcomm SDHCI driver to help catch the
problem.
This would have saved a bunch of time [1].
NOTE: this doesn't actually fix any problems, it just makes it obvious
to devs that there is a problem and that should be an indication to
fix the clock driver.
[1] http://lore.kernel.org/r/20201210102234.1.I096779f219625148900fc984dd0084ed1ba87c7f@changeid
Suggested-by: Stephen Boyd <[email protected]>
Signed-off-by: Douglas Anderson <[email protected]>
Reviewed-by: Stephen Boyd <[email protected]>
Reviewed-by: Bjorn Andersson <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/20201214092048.v5.1.Iec3430c7d3c2a29262695edef7b82a14aaa567e5@changeid
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions