forked from mirrors/linux
		
	driver core: Set fw_devlink.strict=1 by default
Now that deferred_probe_timeout is non-zero by default, fw_devlink will never permanently block the probing of devices. It'll try its best to probe the devices in the right order and then finally let devices probe even if their suppliers don't have any drivers. Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Saravana Kannan <saravanak@google.com> Link: https://lore.kernel.org/r/20220601070707.3946847-8-saravanak@google.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
		
							parent
							
								
									f516d01b9d
								
							
						
					
					
						commit
						71066545b4
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -1613,7 +1613,7 @@ static int __init fw_devlink_setup(char *arg)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
early_param("fw_devlink", fw_devlink_setup);
 | 
					early_param("fw_devlink", fw_devlink_setup);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static bool fw_devlink_strict;
 | 
					static bool fw_devlink_strict = true;
 | 
				
			||||||
static int __init fw_devlink_strict_setup(char *arg)
 | 
					static int __init fw_devlink_strict_setup(char *arg)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	return strtobool(arg, &fw_devlink_strict);
 | 
						return strtobool(arg, &fw_devlink_strict);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue