From 38fcaf8efcac6f89dd3dafa3df17f49fcf3403ba Mon Sep 17 00:00:00 2001 From: Andrew Paprocki Date: Mon, 17 Dec 2007 11:49:44 +0100 Subject: [PATCH] [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 --- sound/pci/hda/hda_codec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/pci/hda/hda_codec.h b/sound/pci/hda/hda_codec.h index 03315105c904..851abfed4e91 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 -- 2.11.0