]> git.baikalelectronics.ru Git - kernel.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)
commit5bcc4f2bc51a800babe597b57a739a400d1957de
treee600839f98fbee8d71accebb990a10e123194202
parent8989333f901d1115486da3dca88a76a2303a82fd
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