Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 07eb6fdf authored by Joerg Roedel's avatar Joerg Roedel
Browse files

iommu/pamu: WARN when fsl_pamu_probe() is called more than once



The function probes the PAMU hardware from device-tree
specifications. It initializes global variables and can thus
be only safely called once.

Add a check that that prints a warning when its called more
than once.

Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent af29d9fa
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment