Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38fcaf8e authored by Andrew Paprocki's avatar Andrew Paprocki Committed by Jaroslav Kysela
Browse files

[ALSA] hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec



AC_KNBCAP_DELTA is incorrectly defined as (1<<8). According to the Intel
HDA spec, this is bit 7 after AC_KNBCAP_NUM_STEPS which is a 0x7f mask.

Signed-off-by: default avatarAndrew Paprocki <andrew@ishiboo.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarJaroslav Kysela <perex@perex.cz>
parent 5a7f2619
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -234,7 +234,7 @@ enum {

/* Volume knobs capabilities */
#define AC_KNBCAP_NUM_STEPS		(0x7f<<0)
#define AC_KNBCAP_DELTA			(1<<8)
#define AC_KNBCAP_DELTA			(1<<7)

/*
 * Control Parameters