Re: [Update][PATCH 7/7] cpufreq: Separate CPU device registration from CPU online

From: Rafael J. Wysocki
Date: Tue Jul 28 2015 - 10:13:54 EST


Hi Viresh,

On Tue, Jul 28, 2015 at 4:20 AM, Viresh Kumar <viresh.kumar@xxxxxxxxxx> wrote:
> On 27-07-15, 23:55, Rafael J. Wysocki wrote:
>> +static void cpufreq_online(unsigned int cpu)
>
> As I said in the earlier message, I need the return value of this to
> be used for add_dev() callback. Which is required to retry probing the
> device if it wasn't ready on a earlier call, i.e. it returns
> -EPROBE_DEFER. My other patch already fixes the subsys layer for this.

If this is the patch I've looked at, it doesn't fix this. It only
fixes one case.

It also doesn't fix the hotplug notifier failure case.

I can retain the return value, but we need to be consistent about using it.

Thanks,
Rafael
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/