mirror of
https://github.com/torvalds/linux.git
synced 2026-06-09 07:03:37 +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
(cherry picked from commit 9af429562a)
This commit is contained in:
parent
254d8e81d2
commit
3aa53d85a0
|
|
@ -1565,7 +1565,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