Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753587AbcDVF2V (ORCPT ); Fri, 22 Apr 2016 01:28:21 -0400 Received: from mailout3.w1.samsung.com ([210.118.77.13]:48604 "EHLO mailout3.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751470AbcDVF2T (ORCPT ); Fri, 22 Apr 2016 01:28:19 -0400 X-AuditID: cbfec7f4-f796c6d000001486-bf-5719b670ccab Subject: Re: [PATCH] drm/exynos/hdmi: Don't print error on deferral due to regulators To: Javier Martinez Canillas , linux-kernel@vger.kernel.org References: <1461264698-9890-1-git-send-email-javier@osg.samsung.com> Cc: Kukjin Kim , linux-samsung-soc@vger.kernel.org, Seung-Woo Kim , dri-devel@lists.freedesktop.org, Inki Dae , Kyungmin Park , David Airlie , Joonyoung Shim From: Krzysztof Kozlowski Message-id: <5719B66E.9000703@samsung.com> Date: Fri, 22 Apr 2016 07:28:14 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-version: 1.0 In-reply-to: <1461264698-9890-1-git-send-email-javier@osg.samsung.com> Content-type: text/plain; charset=windows-1252 Content-transfer-encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFnrPLMWRmVeSWpSXmKPExsVy+t/xa7oF2yTDDTY8ZLLoPXeSyeLK1/ds FpPuT2CxePN2DZPFi3sXWSxevzC06H/8mtnibNMbdovLu+awWcw4v4/JYsbkl2wO3B6bVnWy eWz/9oDV4373cSaPLf132T36tqxi9Pi8SS6ALYrLJiU1J7MstUjfLoEr49DlnILd3BVzn0xl a2BcyNnFyMkhIWAisXZNMzOELSZx4d56ti5GLg4hgaWMEo8+97CCJIQEnjFKHPoYBGILC4RL /Ju7AiwuIhAq8e/ibUaIGleJzx3zwOLMAquYJC4eUAGx2QSMJTYvX8IGYvMKaEkc6+kGq2ER UJX4dWwh2GJRgQiJJ3NPMkLUCEr8mHyPpYuRg4NTwE1i3tYKEJNZQE/i/kUtiOnyEpvXvGWe wCgwC0nDLISqWUiqFjAyr2IUTS1NLihOSs811CtOzC0uzUvXS87P3cQIiYYvOxgXH7M6xCjA wajEw/uhQTJciDWxrLgy9xCjBAezkggv61agEG9KYmVValF+fFFpTmrxIUZpDhYlcd65u96H CAmkJ5akZqemFqQWwWSZODilGhgnauv+DEjlLZdZnCvns/r3xETtXf9znt38MitKov9pWnjf /zsrWQ9V/Q99arWx6D1P/Nk6qetmM+R7svauKbL4qbvV8ORT768cGeLTHzHWJk8TeTlT1eKj U7dwBqOIrs9Ho6ss91J2Rbe0HN5yk23qzU0BfDo1dv1PCv/9X2QgO+nQBF6pd2ZKLMUZiYZa zEXFiQAxgk3GggIAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1426 Lines: 39 On 04/21/2016 08:51 PM, Javier Martinez Canillas wrote: > 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 > Signed-off-by: Javier Martinez Canillas > > --- > > The real fix for these kind of issues is to change the device model > core to support device dependencies so the number of probe deferral > should be minimal or non-existent, instead of fixing on each driver. > > But there have been different attempts [0,1] to implement this and > there doesn't seem that this will be solved in the short term. > > [0]: https://lkml.org/lkml/2014/5/12/452 > [1]: https://lkml.org/lkml/2015/5/25/251 > > drivers/gpu/drm/exynos/exynos_hdmi.c | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) Since I like to look at 'dmesg -l err' then I find this useful: Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof