From 2489007e7d740ccbc3e0a202914e243ad5178787 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 22 Sep 2012 09:48:20 +0200 Subject: merge opensource jb u5 Change-Id: I1aaec157aa196f3448eff8636134fce89a814cf2 --- arch/arm/mach-exynos/setup-tvout.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'arch/arm/mach-exynos/setup-tvout.c') diff --git a/arch/arm/mach-exynos/setup-tvout.c b/arch/arm/mach-exynos/setup-tvout.c index 7e487f8..7948eb8 100644 --- a/arch/arm/mach-exynos/setup-tvout.c +++ b/arch/arm/mach-exynos/setup-tvout.c @@ -38,12 +38,21 @@ struct platform_device; /* don't need the contents */ void s5p_int_src_hdmi_hpd(struct platform_device *pdev) { printk(KERN_INFO "%s()\n", __func__); +#ifdef CONFIG_MACH_U1_NA_USCC + s3c_gpio_cfgpin(GPIO_HDMI_HPD , S3C_GPIO_INPUT); +#else s3c_gpio_cfgpin(GPIO_HDMI_HPD, S3C_GPIO_SFN(0x3)); - s3c_gpio_setpull(GPIO_HDMI_HPD, S3C_GPIO_PULL_NONE); +#endif + s3c_gpio_setpull(GPIO_HDMI_HPD, S3C_GPIO_PULL_DOWN); } void s5p_int_src_ext_hpd(struct platform_device *pdev) { +#ifdef CONFIG_MACH_U1_NA_USCC /* NC */ + printk(KERN_INFO "%s()\n", __func__); + s3c_gpio_cfgpin(GPIO_HDMI_HPD, S3C_GPIO_INPUT); + s3c_gpio_setpull(GPIO_HDMI_HPD, S3C_GPIO_PULL_DOWN); +#else printk(KERN_INFO "%s()\n", __func__); s3c_gpio_cfgpin(GPIO_HDMI_HPD, S3C_GPIO_SFN(0xf)); /* To avoid floating state of the HPD pin * @@ -53,6 +62,7 @@ void s5p_int_src_ext_hpd(struct platform_device *pdev) #else s3c_gpio_setpull(GPIO_HDMI_HPD, S3C_GPIO_PULL_NONE); #endif +#endif } int s5p_hpd_read_gpio(struct platform_device *pdev) -- cgit v1.1