Re: [resend][PATCH 01/16] dw_dmac: call .probe after we have adevice in place

From: Vinod Koul
Date: Sat Jan 12 2013 - 07:52:49 EST


On Wed, Jan 09, 2013 at 08:04:28PM +0200, Mika Westerberg wrote:
>
> If the platform device is not yet created (like it might be when it is
> enumerated from ACPI for example), the probe fails completely. Certainly
> not the situation we want.
>
> Calling platform_driver_register() handles both cases properly.
Yes this is fix for that kind of problem. But the main issue I am concerned
about is that devices should have created much before drivers started loading.
Obviosuly due to SPI/DMA dependencies we have to do this.

--
~Vinod
--
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/