diff options
author | 2024-07-08 15:10:17 +0300 | |
---|---|---|
committer | 2024-07-12 11:07:15 +0200 | |
commit | 63e555d9bf76dc710842c13edb7d0986149f16a3 (patch) | |
tree | 4723b0c4705bb785a1d3ac29a9a241d34b7f10ab /scripts/generate_rust_analyzer.py | |
parent | mmc: sdhci-esdhc-imx: disable card detect wake for S32G based platforms (diff) | |
download | wireguard-linux-63e555d9bf76dc710842c13edb7d0986149f16a3.tar.xz wireguard-linux-63e555d9bf76dc710842c13edb7d0986149f16a3.zip |
mmc: sdhci-esdhc-imx: obtain the 'per' clock rate after its enablement
The I.MX SDHCI driver assumes that the frequency of the 'per' clock
can be obtained even on disabled clocks, which is not always the case.
According to 'clk_get_rate' documentation, it is only valid
once the clock source has been enabled.
Signed-off-by: Ciprian Costea <ciprianmarian.costea@oss.nxp.com>
Reviewed-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/20240708121018.246476-3-ciprianmarian.costea@oss.nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions