10 Nov
2014
10 Nov
'14
11:03 a.m.
On Mon, Nov 10, 2014 at 11:50:56AM +0530, Vinod Koul wrote:
On Thu, Nov 06, 2014 at 01:46:00PM +0000, Mark Brown wrote:
That doesn't sound right - this would affect almost all systems. Deferred probe should ensure that the machine driver can't load until after all the component devices (including the CODEC driver) are instantiated and we should be suspending in the reverse order that we probe the devices.
Yes defer probe is the right solution here. But in machine driver loading how does it ensure that codec and platform are already loaded, should the sound card registration be treated as failure and deferred?
Yes, the sound card registration will give you an -EPROBE_DEFER if one of the components isn't registered.