Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7e949844 authored by Lucas Stach's avatar Lucas Stach Committed by Olof Johansson
Browse files

clk: tegra: remove USB from clk init table



The USB clocks are just clock gates, so no need to set a specific clock.
In fact trying to set a specific clock is just a NOP if the requested
clockrate is the same as those of the parent (clk_m) or will trigger a
WARN_ON() if rates don't match up.

As we are not setting a specific rate, nor activating the clocks at
init, there is no point in keeping the the usb entries in the clock init
table.

Signed-off-by: default avatarLucas Stach <dev@lynxeye.de>
Acked-by: default avatarPeter De Schrijver <pdeschrijver@nvidia.com>
Reviewed-by: default avatarPrashant Gaikwad <pgaikwad@nvidia.com>
Acked-by: default avatarMike Turquette <mturquette@linaro.org>
Tested-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent c7788792
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1234,9 +1234,6 @@ static __initdata struct tegra_clk_init_table init_table[] = {
	{uartc, pll_p, 0, 0},
	{uartd, pll_p, 0, 0},
	{uarte, pll_p, 0, 0},
	{usbd, clk_max, 12000000, 0},
	{usb2, clk_max, 12000000, 0},
	{usb3, clk_max, 12000000, 0},
	{pll_a, clk_max, 56448000, 1},
	{pll_a_out0, clk_max, 11289600, 1},
	{cdev1, clk_max, 0, 1},