ALSA: scarlett2: Fix Scarlett 4th Gen 4i4 low-voltage detection
authorGeoffrey D. Bennett <g@b4.vu>
Sun, 10 Mar 2024 10:34:27 +0000 (21:04 +1030)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2024 08:15:34 +0000 (09:15 +0100)
commit6ef1f08b53fdb6f5f00f17f85a60b3247d77fa54
treef2a2eb76f108c5188f9e9326f5b2182ab13acc74
parent9fc91a6fe37c78ef301aed4251f7e50b8524e72d
ALSA: scarlett2: Fix Scarlett 4th Gen 4i4 low-voltage detection

The value currently being read to determine the low-voltage state is
actually the front panel state. Fix the code to use the correct offset
for the low-voltage state.

Signed-off-by: Geoffrey D. Bennett <g@b4.vu>
Fixes: d7cfa2fdfc8a ("ALSA: scarlett2: Add power status control")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Message-ID: <d97b7d87f43b0e54f37e1552394be2f3ae182704.1710047969.git.g@b4.vu>
sound/usb/mixer_scarlett2.c