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

[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
...@@ -234,7 +234,7 @@ enum { ...@@ -234,7 +234,7 @@ enum {
/* Volume knobs capabilities */ /* Volume knobs capabilities */
#define AC_KNBCAP_NUM_STEPS (0x7f<<0) #define AC_KNBCAP_NUM_STEPS (0x7f<<0)
#define AC_KNBCAP_DELTA (1<<8) #define AC_KNBCAP_DELTA (1<<7)
/* /*
* Control Parameters * Control Parameters
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment