]> git.karo-electronics.de Git - karo-tx-linux.git/commit
video: exynos_dp: Improve EDID error handling
authorSean Paul <seanpaul@chromium.org>
Thu, 1 Nov 2012 02:13:00 +0000 (02:13 +0000)
committerJingoo Han <jg1.han@samsung.com>
Thu, 29 Nov 2012 01:33:27 +0000 (10:33 +0900)
commit99f541524c8cd7b54a4f64a1c225de940e950833
treee600839f98fbee8d71accebb990a10e123194202
parent49ce41f38b307d00cbcbc76721e0db2208915b44
video: exynos_dp: Improve EDID error handling

EDID error handling has 2 problems:
 - It doesn't fail as early as it can
 - The retry counts for i2c and aux transactions are huge

This patch fails if the initial i2c transaction fails, and reduces the
aux and i2c retry counts down to 3.

[jg1.han@samsung.com: reduced the retry count of exynos_dp_read_byte_from_dpcd()]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
drivers/video/exynos/exynos_dp_core.c
drivers/video/exynos/exynos_dp_reg.c