clk: tegra: fix enum tegra114_clk to match binding
authorStephen Warren <swarren@nvidia.com>
Thu, 4 Apr 2013 23:13:54 +0000 (17:13 -0600)
committerStephen Warren <swarren@nvidia.com>
Thu, 4 Apr 2013 23:17:14 +0000 (17:17 -0600)
A gap exists in the binding's clock ID definitions. Fix the clock driver
to be consistent. This allows pclk to be looked up through device tree
and prevents:

ERROR: could not get clock /pmc:pclk(0)

Signed-off-by: Stephen Warren <swarren@nvidia.com>
drivers/clk/tegra/clk-tegra114.c

index 0db81dd05fcefe234f7febbecbc5d2e716cba75b..d78e16ee161c64ae7578872497e25fb5c8188d08 100644 (file)
@@ -760,7 +760,7 @@ enum tegra114_clk {
        pll_re_vco, pll_re_out, pll_e_out0, spdif_in_sync, i2s0_sync,
        i2s1_sync, i2s2_sync, i2s3_sync, i2s4_sync, vimclk_sync, audio0,
        audio1, audio2, audio3, audio4, spdif, clk_out_1, clk_out_2, clk_out_3,
-       blink, xusb_host_src, xusb_falcon_src, xusb_fs_src, xusb_ss_src,
+       blink, xusb_host_src = 252, xusb_falcon_src, xusb_fs_src, xusb_ss_src,
        xusb_dev_src, xusb_dev, xusb_hs_src, sclk, hclk, pclk, cclk_g, cclk_lp,
 
        /* Mux clocks */