mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
ANDROID: driver core: Set fw_devlink.strict=true by default
fw_devlink.strict makes sure all the iommus and dmas probe before their consumers. Without this, some consumers could probe before the iommus/dmas and function without iommu/dma capability. For Android, if an iommu/dma is listed as a supplier for a device tree node, we assume the driver for the iommu/dma exists and will be loaded. Bug: 181264536 Signed-off-by: Saravana Kannan <saravanak@google.com> Change-Id: I36e69269eb16fbedb8f7efc48e8b0b20c66a765f
This commit is contained in:
parent
93f9233f99
commit
9af429562a
|
|
@ -1521,7 +1521,7 @@ static int __init fw_devlink_setup(char *arg)
|
|||
}
|
||||
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)
|
||||
{
|
||||
return strtobool(arg, &fw_devlink_strict);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user