On Wed, Nov 21, 2012 at 10:09 PM, Felipe Balbi <ba...@ti.com> wrote:
>>       status = musb_platform_init(musb);
>> -     if (status < 0)
>> +     if (status < 0) {
>> +             /* try to defer probe if trasceiver is not ready */
>> +             status = (status == -ENODEV ? -EPROBE_DEFER : status);
>
> still wrong, what you should do is that when you can't get the phy, you
> set status to -EPROBE_DEFER, instead of -ENODEV.

The above code does set status to to -EPROBE_DEFER when phy can't
be got, doesn't it?


Thanks,
--
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to