ALSA: scarlett2: Default mixer driver to enabled
authorGeoffrey D. Bennett <g@b4.vu>
Thu, 14 Sep 2023 17:31:57 +0000 (03:01 +0930)
committerTakashi Iwai <tiwai@suse.de>
Mon, 18 Sep 2023 15:47:02 +0000 (17:47 +0200)
commitbc83058f598757a908b30f8f536338cb1478ab5b
treebe7e33d4b839b80ea8bea339f632f6bd3cdcd55a
parentb2ce0027d7b2905495021c5208f92043eb493146
ALSA: scarlett2: Default mixer driver to enabled

Early versions of this mixer driver did not work on all hardware, so
out of caution the driver was disabled by default and had to be
explicitly enabled with device_setup=1.

Since commit 764fa6e686e0 ("ALSA: usb-audio: scarlett2: Fix device
hang with ehci-pci") no more problems of this nature have been
reported. Therefore, enable the driver by default but provide a new
device_setup option to disable the driver in case that is needed.

- device_setup value of 0 now means "enable" rather than "disable".
- device_setup value of 1 is now ignored.
- device_setup value of 4 now means "disable".

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Link: https://lore.kernel.org/r/89600a35b40307f2766578ad1ca2f21801286b58.1694705811.git.g@b4.vu
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/mixer_scarlett_gen2.c