Skip to content

Commit

Permalink
video: exynos_dp: move setting analog parameter and interrupt to afte…
Browse files Browse the repository at this point in the history
…r sw reset

SW reset sets DP TX to initial value, so configurations for analog parameter
and interrupt are not set properly. Therefore, exynos_dp_init_analog_param()
and exynos_dp_init_interrupt() should be moved to after sw reset is called,
in order to set these values properly.

Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
  • Loading branch information
Jingoo Han authored and Florian Tobias Schandinat committed Aug 23, 2012
1 parent 1ec7be9 commit 75435c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions drivers/video/exynos/exynos_dp_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ static int exynos_dp_init_dp(struct exynos_dp_device *dp)

exynos_dp_swreset(dp);

exynos_dp_init_analog_param(dp);
exynos_dp_init_interrupt(dp);

/* SW defined function Normal operation */
exynos_dp_enable_sw_function(dp);

Expand Down
3 changes: 0 additions & 3 deletions drivers/video/exynos/exynos_dp_reg.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,9 +148,6 @@ void exynos_dp_reset(struct exynos_dp_device *dp)
writel(0x2, dp->reg_base + EXYNOS_DP_M_AUD_GEN_FILTER_TH);

writel(0x00000101, dp->reg_base + EXYNOS_DP_SOC_GENERAL_CTL);

exynos_dp_init_analog_param(dp);
exynos_dp_init_interrupt(dp);
}

void exynos_dp_swreset(struct exynos_dp_device *dp)
Expand Down

0 comments on commit 75435c7

Please sign in to comment.