diff options
author | 2021-12-16 13:57:48 +0100 | |
---|---|---|
committer | 2021-12-28 17:21:14 +0100 | |
commit | e5e8b2246f672224e93bca5a1414934addab41a7 (patch) | |
tree | 9c233fe1941a5a1197e51ae8edd87228506e52be /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mmc: mtk-sd: Fix usage of devm_clk_get_optional() (diff) | |
download | linux-dev-e5e8b2246f672224e93bca5a1414934addab41a7.tar.xz linux-dev-e5e8b2246f672224e93bca5a1414934addab41a7.zip |
mmc: mtk-sd: Assign src_clk parent to src_clk_cg for legacy DTs
In commit 3c1a88443698 ("mmc: mediatek: add support of source_cg clock")
an independent cg was introduced to avoid a hardware hang issue during
clock mode switches (subsequent commits will set that clock as optional).
When this clock is not present in device-tree, any operation is being
done on src_clk's parent (calling clk_get_parent()): to simplify this
and avoid checking for src_clk_cg presence everytime, just assign the
parent clock to src_clk_cg and remove the now useless checks.
Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20211216125748.179602-5-angelogioacchino.delregno@collabora.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