diff options
author | Laurentiu Tudor <laurentiu.tudor@nxp.com> | 2021-07-15 17:07:17 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-21 14:56:25 +0300 |
commit | 8567494cebe5c208faa336a8316781d32d4e860f (patch) | |
tree | a852c5589787fcbad77f673e3376a3e35f049447 /init | |
parent | 39243fc1110caf1e76ea647059e061a021680dfd (diff) | |
download | linux-8567494cebe5c208faa336a8316781d32d4e860f.tar.xz |
bus: fsl-mc: rescan devices if endpoint not found
If the endpoint of a device is not yet probed on the bus, force
a rescan of the devices and retry to get a reference to the
endpoint device. If the device is still not found then we assume
it's in a different isolation context (container/DPRC) thus
unavailable and return a permission error.
Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
Signed-off-by: Robert-Ionut Alexa <robert-ionut.alexa@nxp.com>
Link: https://lore.kernel.org/r/20210715140718.8513-7-laurentiu.tudor@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions