drm/exynos: dsi: fix exynos_dsi_set_pll() wrong return value
authorYoungJun Cho <yj44.cho@samsung.com>
Thu, 14 Aug 2014 02:22:36 +0000 (11:22 +0900)
committerInki Dae <daeinki@gmail.com>
Fri, 19 Sep 2014 15:56:08 +0000 (00:56 +0900)
commit8525b5ec90a58b3e56709ffa1667d6593dbe24c3
treed5f2339a1f18e4ed9d012b409a7a5f97d2f0d725
parent8337486a8fda53e5f46b3cb2b4eb3272608348cb
drm/exynos: dsi: fix exynos_dsi_set_pll() wrong return value

The type of this function is unsigned long, and it is expected
to return proper fout value or zero if something is wrong.
So this patch fixes wrong return value for error cases.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Inki Dae <inki.dae@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_dsi.c