diff options
| author | bui duc phuc <phucduc.bui@gmail.com> | 2026-09-14 16:52:48 +0700 |
|---|---|---|
| committer | Takashi Iwai <tiwai@suse.de> | 2026-09-14 18:12:20 +0200 |
| commit | 5b6ea1bb8af9d554104c7f4120f61712d56e31ed (patch) | |
| tree | 9efb2f9ced9f9a4c8959a000341906160c68c94b /tools/lib/python/feat/parse_features.py | |
| parent | eccc0dc233c83a5048136cdefe1fd1dd3a3c0600 (diff) | |
ALSA: pcm: Simplify success check in snd_pcm_open_file()
snd_pcm_open_file() returns zero on success and a negative error code
on failure. Use !err to check for a successful return instead of
checking for a non-negative value.
Signed-off-by: bui duc phuc <phucduc.bui@gmail.com>
Link: https://patch.msgid.link/20260914095248.33391-1-phucduc.bui@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/lib/python/feat/parse_features.py')
0 files changed, 0 insertions, 0 deletions
