]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: scarlett2: Add device_setup option to use FCP driver
authorGeoffrey D. Bennett <g@b4.vu>
Thu, 16 Jan 2025 17:47:58 +0000 (04:17 +1030)
committerTakashi Iwai <tiwai@suse.de>
Sat, 18 Jan 2025 11:02:22 +0000 (12:02 +0100)
commit0ce204d3af3beca1825018e9ca128635ccc8aa85
tree1be3d7244f04f940717c464c4f86940f21898753
parent46757a3e7d50dac923888e7fbe68377736f13c70
ALSA: scarlett2: Add device_setup option to use FCP driver

Add a new device_setup option (SCARLETT2_USE_FCP_DRIVER = 0x08) that
allows users to opt in to using the new FCP driver instead of the
existing scarlett2 driver for their device. This provides a way to
test the new FCP driver on existing supported hardware while keeping
the Scarlett2 driver as the default.

When the SCARLETT2_USE_FCP_DRIVER bit is set in device_setup, the
scarlett2 driver initialisation will hand off to the FCP driver
instead of proceeding with its own initialisation. The FCP driver then
provides access to the device via its hwdep interface.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://patch.msgid.link/94ffd7971d73cb0cbea6933b28f7528ce5b9edde.1737048528.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett2.c