diff options
| author | Heinrich Schuchardt <[email protected]> | 2023-11-04 09:00:07 +0200 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2024-01-09 07:36:18 +0100 |
| commit | badef4cd4a9154776238cb1fad6d22bc93340303 (patch) | |
| tree | ee6dec799677449f7b4d2c3f4a02d00d3186ba6e /doc/develop/checkpatch.rst | |
| parent | c5e461fbf7cc72f0c1c8a79226b6a5170e56cb4d (diff) | |
rng: fix ARMv8.5 RNDR driver
In different parts of our code we assume that the first RNG device is the
one to be used. Therefore it is preferable to detect the availability of
the RNDR register already in the bind method.
For signaling the non-existence of a device the driver model requires using
ENOENT (and not ENODEV).
Fixes: 31565bb0aa2d ("driver: rng: Add DM_RNG interface for ARMv8.5 RNDR registers")
Signed-off-by: Heinrich Schuchardt <[email protected]>
Reviewed-by: Andre Przywara <[email protected]>
Tested-by: Andre Przywara <[email protected]>
Diffstat (limited to 'doc/develop/checkpatch.rst')
0 files changed, 0 insertions, 0 deletions
