ALSA: scarlett2: Split input_other into level/pad/air/phantom
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 24 Dec 2023 19:30:53 +0000 (06:00 +1030)
committerTakashi Iwai <tiwai@suse.de>
Fri, 29 Dec 2023 14:41:23 +0000 (15:41 +0100)
commitd9b63123fbb0a9cf9938dddbe7e623c731491d7d
tree50b70f437510a3f0acfed273e7192a06a76da1ab
parentad5174608eca55bd3fe6dc16057248fa03e6673d
ALSA: scarlett2: Split input_other into level/pad/air/phantom

Gen 2/3 devices have a single notification value for "input other"
changes. Gen 4 has separate notification values for level, pad, air,
and phantom power changes. Therefore, split the input_other_updated
field and the scarlett2_update_input_other() function into the four
components so that they can be handled separately later.

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