diff options
| author | Richard Fitzgerald <[email protected]> | 2023-09-18 10:51:29 +0100 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-09-18 17:49:28 +0200 |
| commit | 2144833e7b41459fa2d52bb0676f0ab4920cf32c (patch) | |
| tree | 24a44f3394dd2f14c63869fabc6675e62273525d /tools/perf/scripts/python/flamegraph.py | |
| parent | 6f03b446cbaeb3187b1df1e7e8b13c6340cd6c68 (diff) | |
ALSA: hda: cirrus_scodec: Add KUnit test
Add a KUnit test for cirrus_scodec_get_speaker_id(). It is impractical
to have enough hardware with every possible permutation of speaker id.
So use a test harness to test all theoretically supported options.
The test harness consists of:
- a mock GPIO controller.
- a mock struct device to represent the scodec driver
- software nodes to provide the fwnode info that would normally come
from ACPI.
Signed-off-by: Richard Fitzgerald <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions