From: Andrew Paprocki Date: Mon, 17 Dec 2007 10:49:44 +0000 (+0100) Subject: [ALSA] hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec X-Git-Tag: v2.6.25-rc1~1127^2~184 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38fcaf8efcac6f89dd3dafa3df17f49fcf3403ba;p=linux-2.6 [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 03315105c9..851abfed4e 100644 --- a/sound/pci/hda/hda_codec.h +++ b/sound/pci/hda/hda_codec.h @@ -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