diff options
author | Richard Fitzgerald <[email protected]> | 2024-08-22 12:57:25 +0100 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-08-22 13:42:40 +0100 |
commit | bff980d8d9ca537fd5f3c0e9a99876c1e3713e81 (patch) | |
tree | a00d73d309e7435fe382a37e1226916b139edfa0 /scripts/generate_rust_analyzer.py | |
parent | 5f7c98b7519a3a847d9182bd99d57ea250032ca1 (diff) |
ASoC: cs-amp-lib-test: Force test calibration blob entries to be valid
For a normal calibration blob the calTarget values must be non-zero and
unique, and the calTime values must be non-zero. Don't rely on
get_random_bytes() to be random enough to guarantee this. Force the
calTarget and calTime values to be valid while retaining randomness
in the values.
Signed-off-by: Richard Fitzgerald <[email protected]>
Fixes: 177862317a98 ("ASoC: cs-amp-lib: Add KUnit test for calibration helpers")
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions