diff options
| author | Ivan Orlov <[email protected]> | 2024-01-25 22:35:20 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2024-01-30 14:11:29 +0100 |
| commit | d1eb913c8df4574df2861db03d2411023bd7930a (patch) | |
| tree | e214c664acd56155571621f36c9615db0bf942f7 /tools/perf/scripts/python | |
| parent | f7c4cb4a3f77867612b45c6327f80eac58a8ce65 (diff) | |
ALSA: pcm: Fix snd_pcm_format_name function
Fix snd_pcm_format_name so it won't return NULL-pointer in case if it
can't find the format in the 'snd_pcm_format_names' list. Return
"Unknown" instead, as it is done if the number passed to the function
is larger than a list size.
Signed-off-by: Ivan Orlov <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions