]> git.baikalelectronics.ru Git - kernel.git/commit
drm/exynos/hdmi: Don't print error on deferral due to regulators
authorJavier Martinez Canillas <javier@osg.samsung.com>
Thu, 21 Apr 2016 18:51:38 +0000 (14:51 -0400)
committerInki Dae <daeinki@gmail.com>
Tue, 10 May 2016 14:11:44 +0000 (23:11 +0900)
commitc694c58df4b08073f822b0ec38b090fee7d9a9b5
treebdfe1fa3d2af7b472578b6294225590692baf034
parent8fc0a28fca2ca8b812b5807423ce21c974f688a7
drm/exynos/hdmi: Don't print error on deferral due to regulators

The regulators may not be available just because their driver's probe
function was just not executed and so the regulators not registered.

So, in this case the Exynos HDMI driver should not print logs since
a -EPROBE_DEFER is not really an error and that will just pollute
the kernel log and confuse users.

This patch prevents the following misleading messages to be printed:

[    1.443638] [drm:hdmi_probe] *ERROR* failed to get regulators
[    1.449326] [drm:hdmi_probe] *ERROR* hdmi_resources_init failed

Reported-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_hdmi.c