Commit a5901f2
ALSA: scarlett2: Add missing check with firmware version control
scarlett2_add_firmware_version_ctl() may return an error, but the
return value was not being checked. Add the missing check.
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Fixes: 701949c ("ALSA: scarlett2: Add support for reading firmware version")
Link: https://lore.kernel.org/r/ZTuKcXajVnuelBEb@m.b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>1 parent fe981e6 commit a5901f2
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4424 | 4424 | | |
4425 | 4425 | | |
4426 | 4426 | | |
| 4427 | + | |
| 4428 | + | |
4427 | 4429 | | |
4428 | 4430 | | |
4429 | 4431 | | |
| |||
0 commit comments