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-Url: https://git.stricted.de/?a=commitdiff_plain;h=38fcaf8efcac6f89dd3dafa3df17f49fcf3403ba;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git [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 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