diff options
| author | AngeloGioacchino Del Regno <[email protected]> | 2021-12-16 13:57:48 +0100 |
|---|---|---|
| committer | Ulf Hansson <[email protected]> | 2021-12-28 17:21:14 +0100 |
| commit | e5e8b2246f672224e93bca5a1414934addab41a7 (patch) | |
| tree | 9c233fe1941a5a1197e51ae8edd87228506e52be /drivers/platform/surface/aggregator/ssh_parser.c | |
| parent | 996be7b75e8d4c44851f8a50bf7f896e32af8812 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/ssh_parser.c')
0 files changed, 0 insertions, 0 deletions