summaryrefslogtreecommitdiff
path: root/drivers/video/exynos/exynos_dp_reg.c
diff options
context:
space:
mode:
authorJingoo Han <jg1.han@samsung.com>2012-05-25 11:21:08 +0400
committerFlorian Tobias Schandinat <FlorianSchandinat@gmx.de>2012-05-29 17:16:15 +0400
commit24db03a834089a3600780ea1c7abe08e483e5d29 (patch)
tree732f124a75ec0327d5de7520ac905668e5f2bd09 /drivers/video/exynos/exynos_dp_reg.c
parent4d10ecf86b31b732092dc9668a6088323c24ab09 (diff)
downloadlinux-24db03a834089a3600780ea1c7abe08e483e5d29.tar.xz
video: exynos_dp: move sw reset prioir to enabling sw defined function
The sw reset should be called prioir to enabling sw defined function, according to datasheet. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/exynos/exynos_dp_reg.c')
-rw-r--r--drivers/video/exynos/exynos_dp_reg.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c
index 99bafb82537e..6ce76d56c3a1 100644
--- a/drivers/video/exynos/exynos_dp_reg.c
+++ b/drivers/video/exynos/exynos_dp_reg.c
@@ -109,8 +109,6 @@ void exynos_dp_reset(struct exynos_dp_device *dp)
{
u32 reg;
- writel(RESET_DP_TX, dp->reg_base + EXYNOS_DP_TX_SW_RESET);
-
exynos_dp_stop_video(dp);
exynos_dp_enable_video_mute(dp, 0);
@@ -155,6 +153,11 @@ void exynos_dp_reset(struct exynos_dp_device *dp)
exynos_dp_init_interrupt(dp);
}
+void exynos_dp_swreset(struct exynos_dp_device *dp)
+{
+ writel(RESET_DP_TX, dp->reg_base + EXYNOS_DP_TX_SW_RESET);
+}
+
void exynos_dp_config_interrupt(struct exynos_dp_device *dp)
{
u32 reg;