diff options
author | Rasmus Villemoes <[email protected]> | 2019-05-13 11:15:00 +0000 |
---|---|---|
committer | Li Yang <[email protected]> | 2019-06-05 14:26:39 -0500 |
commit | 5cfca8911ddd59150ba53cff16956eabe1b3dcac (patch) | |
tree | cfe0677a7ec0738a26ddb88582eda2ae40c1b209 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 8f762fe5819f8561343cf02e234789744ed68a98 (diff) |
soc: fsl: qe: support fsl,qe-snums property
Add driver support for the newly introduced fsl,qe-snums property.
Conveniently, of_property_read_variable_u8_array does exactly what we
need: If the property fsl,qe-snums is found (and has an allowed size),
the array of values get copied to snums, and the return value is the
number of snums - we cannot assign directly to num_of_snums, since we
need to check whether the return value is negative.
Reviewed-by: Christophe Leroy <[email protected]>
Reviewed-by: Qiang Zhao <[email protected]>
Signed-off-by: Rasmus Villemoes <[email protected]>
Signed-off-by: Li Yang <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions