msm_fb: hdmi: change HDMI_PHY_REG1 based on source.
Set value of HDMI_PHY_REG1[2:0] for output voltage swing control.
CRs-Fixed: 488207
Change-Id: I9aeba47491467a14a3141cf7688a95a2f43e80f5
Signed-off-by: Abhishek Kharbanda <akharban@codeaurora.org>
diff --git a/arch/arm/mach-msm/board-8930-display.c b/arch/arm/mach-msm/board-8930-display.c
index a3440b8..318e68c 100644
--- a/arch/arm/mach-msm/board-8930-display.c
+++ b/arch/arm/mach-msm/board-8930-display.c
@@ -571,7 +571,7 @@
static int hdmi_cec_power(int on);
static int hdmi_gpio_config(int on);
static int hdmi_panel_power(int on);
-static bool hdmi_platform_foundry(void);
+static bool hdmi_platform_source(void);
static struct msm_hdmi_platform_data hdmi_msm_data = {
.irq = HDMI_IRQ,
@@ -580,7 +580,7 @@
.cec_power = hdmi_cec_power,
.panel_power = hdmi_panel_power,
.gpio_config = hdmi_gpio_config,
- .foundry = hdmi_platform_foundry,
+ .source = hdmi_platform_source,
};
static struct platform_device hdmi_msm_device = {
@@ -842,7 +842,7 @@
return rc;
}
-static bool hdmi_platform_foundry(void)
+static bool hdmi_platform_source(void)
{
return cpu_is_msm8930ab() ? true : false ;
}