diff options
| author | Geoffrey D. Bennett <[email protected]> | 2023-12-20 04:07:21 +1030 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2023-12-29 15:39:27 +0100 |
| commit | ca459dfa7d4ed9098fcf13e410963be6ae9b6bf3 (patch) | |
| tree | bb60d4690b06ed6b33c8fde0f50b89e9c7c3db4d /tools/perf/scripts/python | |
| parent | 5f6ff6931a1c0065a55448108940371e1ac8075f (diff) | |
ALSA: scarlett2: Add missing error check to scarlett2_usb_set_config()
scarlett2_usb_set_config() calls scarlett2_usb_get() but was not
checking the result. Return the error if it fails rather than
continuing with an invalid value.
Signed-off-by: Geoffrey D. Bennett <[email protected]>
Fixes: 9e15fae6c51a ("ALSA: usb-audio: scarlett2: Allow bit-level access to config")
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