]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: scarlett2: Move USB IDs out from device_info struct
authorGeoffrey D. Bennett <g@b4.vu>
Thu, 14 Sep 2023 17:32:16 +0000 (03:02 +0930)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2024 15:07:10 +0000 (17:07 +0200)
commit4d74cb9cdfd51e6d854f8da54113e716335cb2ca
tree4eeb7d03497368707c70fcc66e9878053ba925b0
parentbbdfa144820566e142b90018cab7b8214c54e418
ALSA: scarlett2: Move USB IDs out from device_info struct

[ Upstream commit d98cc489029dba4d99714c2e8ec4f5ba249f6851 ]

By moving the USB IDs from the device_info struct into
scarlett2_devices[], that will allow for devices with different
USB IDs to share the same device_info.

Tested-by: Philippe Perrot <philippe@perrot-net.fr>
Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/8263368e8d49e6fcebc709817bd82ab79b404468.1694705811.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Stable-dep-of: b9a98cdd3ac7 ("ALSA: scarlett2: Add support for Clarett 8Pre USB")
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/usb/mixer_scarlett_gen2.c