]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20b720f1bcbb5d95a467cfd2997e635eba9099b7
treed5f2339a1f18e4ed9d012b409a7a5f97d2f0d725
parent0f6d4abce2bc4992406c58fed1b6e7fced29ab00
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