Re: [PATCH v3 01/11] stm class: Introduce an abstraction for System Trace Module devices

From: Alexander Shishkin
Date: Wed Jul 29 2015 - 09:47:13 EST


Mark Brown <broonie@xxxxxxxxxx> writes:

> On Wed, Jul 29, 2015 at 04:25:10PM +0300, Alexander Shishkin wrote:
>
>> There has to be a way to defer stm_probe(), although a quick look at
>> amba code suggests it's not implemented.
>
> What makes you say this? Probe deferral is implemented in the driver
> core rather than individual buses, the buses don't need to know anything
> about it.

I stand corrected, it indeed is.

So returning EPROBE_DEFER from stm_probe() should Just Work (provided
stm_probe() handles its error paths correctly).

Regards,
--
Alex
--
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/