2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-22 20:23:57 +08:00

[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: Andrew Paprocki <andrew@ishiboo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Andrew Paprocki 2007-12-17 11:49:44 +01:00 committed by Jaroslav Kysela
parent 5a7f261921
commit 38fcaf8efc

View File

@ -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