diff options
author | Sean Paul <seanpaul@chromium.org> | 2012-08-07 23:54:20 -0400 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2012-08-23 09:22:47 -0400 |
commit | 09d00d170f8da388761cc29de1cf8c12c69c1300 (patch) | |
tree | 4c29bbfef066b9d12b422e1399da13dd26f30387 /drivers/video/exynos | |
parent | 8fefbb7519a37ad6c0752da1f939607d73a04ede (diff) |
video: exynos_dp: Fix get_pll_lock_status return value
Fix the return value of exynos_dp_get_pll_lock_status to
reflect what it actually returns.
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Reviewed-by: Olof Johansson <olofj@chromium.org>
Acked-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/exynos')
-rw-r--r-- | drivers/video/exynos/exynos_dp_core.h | 2 | ||||
-rw-r--r-- | drivers/video/exynos/exynos_dp_reg.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/exynos/exynos_dp_core.h b/drivers/video/exynos/exynos_dp_core.h index 44c11e18e0f7..4af4504cf5b1 100644 --- a/drivers/video/exynos/exynos_dp_core.h +++ b/drivers/video/exynos/exynos_dp_core.h | |||
@@ -43,7 +43,7 @@ void exynos_dp_init_interrupt(struct exynos_dp_device *dp); | |||
43 | void exynos_dp_reset(struct exynos_dp_device *dp); | 43 | void exynos_dp_reset(struct exynos_dp_device *dp); |
44 | void exynos_dp_swreset(struct exynos_dp_device *dp); | 44 | void exynos_dp_swreset(struct exynos_dp_device *dp); |
45 | void exynos_dp_config_interrupt(struct exynos_dp_device *dp); | 45 | void exynos_dp_config_interrupt(struct exynos_dp_device *dp); |
46 | u32 exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp); | 46 | enum pll_status exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp); |
47 | void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable); | 47 | void exynos_dp_set_pll_power_down(struct exynos_dp_device *dp, bool enable); |
48 | void exynos_dp_set_analog_power_down(struct exynos_dp_device *dp, | 48 | void exynos_dp_set_analog_power_down(struct exynos_dp_device *dp, |
49 | enum analog_power_block block, | 49 | enum analog_power_block block, |
diff --git a/drivers/video/exynos/exynos_dp_reg.c b/drivers/video/exynos/exynos_dp_reg.c index f5f1df770391..1acba7417b38 100644 --- a/drivers/video/exynos/exynos_dp_reg.c +++ b/drivers/video/exynos/exynos_dp_reg.c | |||
@@ -179,7 +179,7 @@ void exynos_dp_config_interrupt(struct exynos_dp_device *dp) | |||
179 | writel(reg, dp->reg_base + EXYNOS_DP_INT_STA_MASK); | 179 | writel(reg, dp->reg_base + EXYNOS_DP_INT_STA_MASK); |
180 | } | 180 | } |
181 | 181 | ||
182 | u32 exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp) | 182 | enum pll_status exynos_dp_get_pll_lock_status(struct exynos_dp_device *dp) |
183 | { | 183 | { |
184 | u32 reg; | 184 | u32 reg; |
185 | 185 | ||