summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorPeter Geis <pgwipeout@gmail.com>2022-03-06 00:58:35 +0300
committerUlf Hansson <ulf.hansson@linaro.org>2022-03-07 14:56:48 +0300
commit52c92286b71e28d88642a4a416f40fbdb6cbb46f (patch)
tree906e7a07330f594bfcbf3b7c3f646aac2ab55da5 /tools/perf/scripts/python/export-to-postgresql.py
parentc4313e75001492f8a288d3ffd595544cbc880821 (diff)
downloadlinux-52c92286b71e28d88642a4a416f40fbdb6cbb46f.tar.xz
mmc: dw-mmc-rockchip: Fix handling invalid clock rates
The Rockchip rk356x ciu clock cannot be set as low as the dw-mmc hardware supports. This leads to a situation during card initialization where the clock is set lower than the clock driver can support. The dw-mmc-rockchip driver spews errors when this happens. For normal operation this only happens a few times during boot, but when cd-broken is enabled (in cases such as the SoQuartz module) this fires multiple times each poll cycle. Fix this by testing the lowest possible frequency that the clock driver can support which is within the mmc specification. Divide that rate by the internal divider and set f_min to this. Signed-off-by: Peter Geis <pgwipeout@gmail.com> Link: https://lore.kernel.org/r/20220305215835.2210388-3-pgwipeout@gmail.com Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions