arm: tegra: cardhu/enterprise: Providing clock src based on preference.
Laxman Dewangan [Thu, 1 Sep 2011 05:15:02 +0000 (10:15 +0530)]
Providing the clock source based on preference.

bug 870388

Original-Change-Id: I1d5cda35a4d0d70082bf03d7ee02c8322920691a
Reviewed-on: http://git-master/r/50256
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
Tested-by: Laxman Dewangan <ldewangan@nvidia.com>

Rebase-Id: Re51a301419cd9577dfbef52a637d6d21ff0a6c9d

arch/arm/mach-tegra/board-cardhu.c

index 062002e..ccfa503 100644 (file)
@@ -288,9 +288,9 @@ static struct platform_device *cardhu_uart_devices[] __initdata = {
        &tegra_uarte_device,
 };
 static struct uart_clk_parent uart_parent_clk[] = {
-       [0] = {.name = "pll_p"},
-       [1] = {.name = "pll_m"},
-       [2] = {.name = "clk_m"},
+       [0] = {.name = "clk_m"},
+       [1] = {.name = "pll_p"},
+       [2] = {.name = "pll_m"},
 };
 
 static struct tegra_uart_platform_data cardhu_uart_pdata;