mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 00:17:23 +00:00
iommu: apple: Mark device as vital
Avoids NULL pointer dereferences if the iommu device is removed before its user. Observed on a M1 Ultra Mac Studio with uboot-v2024.10. Signed-off-by: Janne Grunau <j@jannau.net>
This commit is contained in:
parent
df8e201958
commit
4b6e0ff908
1 changed files with 1 additions and 1 deletions
|
@ -314,5 +314,5 @@ U_BOOT_DRIVER(apple_dart) = {
|
|||
.ops = &apple_dart_ops,
|
||||
.probe = apple_dart_probe,
|
||||
.remove = apple_dart_remove,
|
||||
.flags = DM_FLAG_OS_PREPARE
|
||||
.flags = DM_FLAG_OS_PREPARE | DM_FLAG_VITAL
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue