[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <56E9463B.9080106@osg.samsung.com>
Date: Wed, 16 Mar 2016 08:40:43 -0300
From: Javier Martinez Canillas <javier@....samsung.com>
To: Mark Brown <broonie@...nel.org>
Cc: linux-kernel@...r.kernel.org, Liam Girdwood <lgirdwood@...il.com>
Subject: Re: [PATCH] regulator: Don't print error in devm_regulator_bulk_get()
on -EPROBE_DEFER
Hello Mark,
On 03/16/2016 08:37 AM, Mark Brown wrote:
> On Wed, Mar 16, 2016 at 08:19:42AM -0300, Javier Martinez Canillas wrote:
[snip]
>
>> Basically I want to get rid of things like this:
>
>> [ 1.438422] exynos-hdmi 14530000.hdmi: Failed to get supply 'vdd': -517
>> [ 1.443638] [drm:hdmi_probe] *ERROR* failed to get regulators
>> [ 1.449326] [drm:hdmi_probe] *ERROR* hdmi_resources_init failed
>
>> The HDMI driver probed correctly but looking at the log it seems that things
>> failed so can mislead users not familiar with the probe deferral mechanism.
>
> So fix probe deferral. Don't go through the entire kernel hacking in
> bodges everywhere, if we have to hack the error handling for almost all
> resource acquisition errors during probe that's obviously not sensible.
>
Got it, thanks a lot for your explanations.
Best regards,
--
Javier Martinez Canillas
Open Source Group
Samsung Research America
Powered by blists - more mailing lists