diff options
author | Geoffrey D. Bennett <g@b4.vu> | 2023-12-19 20:37:21 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-12-29 17:39:27 +0300 |
commit | ca459dfa7d4ed9098fcf13e410963be6ae9b6bf3 (patch) | |
tree | bb60d4690b06ed6b33c8fde0f50b89e9c7c3db4d /tools/perf/scripts/python/gecko.py | |
parent | 5f6ff6931a1c0065a55448108940371e1ac8075f (diff) | |
download | linux-ca459dfa7d4ed9098fcf13e410963be6ae9b6bf3.tar.xz |
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 <g@b4.vu>
Fixes: 9e15fae6c51a ("ALSA: usb-audio: scarlett2: Allow bit-level access to config")
Link: https://lore.kernel.org/r/def110c5c31dbdf0a7414d258838a0a31c0fab67.1703001053.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions