aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Sharma <rahul.sharma@samsung.com>2013-06-24 10:38:21 +0530
committerTushar Behera <tushar.behera@linaro.org>2013-12-18 11:55:46 +0530
commitc848a8d261fe07f807427eca7d9246cc0a969727 (patch)
treeb88b36af619ed2b3afc1fd0e7ff6d03eaeb7b533
parent9ab626b6f0e517b681c3fe67b4d70f9975e48976 (diff)
WIP: disabling the hdmi regulators
Signed-off-by: Rahul Sharma <rahul.sharma@samsung.com> Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
-rw-r--r--drivers/gpu/drm/exynos/exynos_hdmi.c13
1 files changed, 4 insertions, 9 deletions
diff --git a/drivers/gpu/drm/exynos/exynos_hdmi.c b/drivers/gpu/drm/exynos/exynos_hdmi.c
index 6142a9f0b80..94b6daa8854 100644
--- a/drivers/gpu/drm/exynos/exynos_hdmi.c
+++ b/drivers/gpu/drm/exynos/exynos_hdmi.c
@@ -1547,6 +1547,7 @@ static int hdmi_resources_init(struct hdmi_context *hdata)
{
struct device *dev = hdata->dev;
struct hdmi_resources *res = &hdata->res;
+#if 0
static char *supply[] = {
"hdmi-en",
"vdd",
@@ -1554,6 +1555,7 @@ static int hdmi_resources_init(struct hdmi_context *hdata)
"vdd_pll",
};
int i, ret;
+#endif
DRM_DEBUG_KMS("HDMI resource init\n");
@@ -1587,7 +1589,7 @@ static int hdmi_resources_init(struct hdmi_context *hdata)
}
clk_set_parent(res->mout_hdmi, res->sclk_pixel);
-
+#if 0
res->regul_bulk = devm_kzalloc(dev, ARRAY_SIZE(supply) *
sizeof(res->regul_bulk[0]), GFP_KERNEL);
if (!res->regul_bulk)
@@ -1602,14 +1604,7 @@ static int hdmi_resources_init(struct hdmi_context *hdata)
goto fail;
}
res->regul_count = ARRAY_SIZE(supply);
-
- clk_prepare(res->hdmi);
- clk_prepare(res->sclk_hdmi);
- clk_prepare(res->sclk_pixel);
- clk_prepare(res->sclk_hdmiphy);
-
- clk_set_parent(res->sclk_hdmi, res->sclk_pixel);
-
+#endif
return 0;
fail:
DRM_ERROR("HDMI resource init - failed\n");