clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops
authorDmitry Osipenko <digetx@gmail.com>
Sat, 17 Jul 2021 11:27:42 +0000 (14:27 +0300)
committerStephen Boyd <sboyd@kernel.org>
Tue, 27 Jul 2021 21:54:19 +0000 (14:54 -0700)
commit2bcc025ab9bbd029b1730cde71cb4e4f0ed35d0f
tree9414c6c46cb8909fc05afcc2a8004b88e899e5fc
parent4ee107c514139960682cc0f3623a24e86fda1a13
clk: tegra: Implement disable_unused() of tegra_clk_sdmmc_mux_ops

Implement disable_unused() callback of tegra_clk_sdmmc_mux_ops to fix
imbalanced disabling of the unused MMC clock on Tegra210 Jetson Nano.

Fixes: c592c8a28f58 ("clk: tegra: Fix refcounting of gate clocks")
Reported-by: Jon Hunter <jonathanh@nvidia.com> # T210 Nano
Tested-by: Jon Hunter <jonathanh@nvidia.com> # T210 Nano
Acked-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
Link: https://lore.kernel.org/r/20210717112742.7196-1-digetx@gmail.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/tegra/clk-sdmmc-mux.c