drm/exynos/hdmi: simplify HDMI-PHY power sequence
authorAndrzej Hajda <a.hajda@samsung.com>
Fri, 25 Sep 2015 12:48:18 +0000 (14:48 +0200)
committerInki Dae <daeinki@gmail.com>
Mon, 26 Oct 2015 06:09:35 +0000 (15:09 +0900)
commit74a74ff4e6fa55d9bdeba57187c3622a55ec2204
tree09a9f0025759a87efb1104cacbf6ecdd6635ffe7
parent8eb6d4ec99bf4c5004d4b87f4f9dc539b708bdb1
drm/exynos/hdmi: simplify HDMI-PHY power sequence

Currently driver tries to set specific HDMI-PHY registers in three situations:
- before reset,
- before power off,
- after applying HDMI-PHY configuration.

First two cases seems to be unnecessary - register contents will be lost
anyway. The third case can be merged with HDMI-PHY configuration by fixing
the last byte of configuration data.

The patch has been tested with following platforms:
- exynos4210-universal_c210,
- exynos4412-odroidu3,
- exynos5422-odroidxu3.

Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c