ALSA: scarlett2: Add minimum firmware version check
authorGeoffrey D. Bennett <g@b4.vu>
Tue, 26 Dec 2023 18:08:46 +0000 (04:38 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:52:14 +0000 (15:52 +0100)
commitf6a817e6795a4f16c106ddf5f4009a7697515868
tree0068d19cdb5beb2c624171a2b9d5b16734ae59c2
parent66946398a4be9fd41eafcc844a306273f5150e69
ALSA: scarlett2: Add minimum firmware version check

Early firmware for the Scarlett Gen 4 devices has sufficient
differences that it is better to enforce a minimum firmware version
than to try and work around those differences. Add a minimum firmware
version field to the device info struct, and display a message if the
firmware version is too old. Only create the Firmware Version and MSD
(optional) controls in this case.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/5455a7e54bda81556066abd7f761b10e9c5f8a16.1703612638.git.g@b4.vu
sound/usb/mixer_scarlett2.c