ARM: tegra14: clock: Fix encoder module EMC clock mode
Mahesh Lagadapati [Fri, 21 Jun 2013 18:53:52 +0000 (11:53 -0700)]
Encoder module EMC clock mode is not set as shared bandwidth client.
Hence changing its mode to make it shared bandwidth client.

Bug 1298224

Change-Id: I7d4566e7e795b9c346fff009b28335baae7c72fa
Signed-off-by: Mahesh Lagadapati <mlagadapati@nvidia.com>
Reviewed-on: http://git-master/r/241994
(cherry picked from commit eb8740c9172b7bb1788daa29d87156659579a653)

Signed-off-by: Mahesh Lagadapati <mlagadapati@nvidia.com>
Change-Id: I8bdb756caefb95248c869d514fe835e476733027
Reviewed-on: http://git-master/r/248473
Reviewed-by: Mandar Padmawar <mpadmawar@nvidia.com>
Tested-by: Mandar Padmawar <mpadmawar@nvidia.com>

arch/arm/mach-tegra/tegra14_clocks.c

index 871233d..7c7d76a 100644 (file)
@@ -6527,7 +6527,7 @@ struct clk tegra_list_clks[] = {
        SHARED_EMC_CLK("cap.throttle.emc", "cap_throttle",      NULL,   &tegra_clk_emc, NULL, 0, SHARED_CEILING_BUT_ISO, 0),
        SHARED_EMC_CLK("3d.emc",        "tegra_gr3d",           "emc",  &tegra_clk_emc, NULL, 0, 0,             BIT(EMC_USER_3D)),
        SHARED_EMC_CLK("2d.emc",        "tegra_gr2d",           "emc",  &tegra_clk_emc, NULL, 0, 0,             BIT(EMC_USER_2D)),
-       SHARED_EMC_CLK("msenc.emc",     "tegra_msenc",          "emc",  &tegra_clk_emc, NULL, 0, 0,             BIT(EMC_USER_MSENC)),
+       SHARED_EMC_CLK("msenc.emc",     "tegra_msenc",          "emc",  &tegra_clk_emc, NULL, 0, SHARED_BW, BIT(EMC_USER_MSENC)),
        SHARED_EMC_CLK("tsec.emc",      "tegra_tsec",           "emc",  &tegra_clk_emc, NULL, 0, 0, 0),
        SHARED_EMC_CLK("sdmmc3.emc",    "sdhci-tegra.2",        "emc",  &tegra_clk_emc, NULL, 0, 0, 0),
        SHARED_EMC_CLK("sdmmc4.emc",    "sdhci-tegra.3",        "emc",  &tegra_clk_emc, NULL, 0, 0, 0),