diff options
author | Andrew Paprocki <andrew@ishiboo.com> | 2007-12-17 05:49:44 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:36 -0500 |
commit | 38fcaf8efcac6f89dd3dafa3df17f49fcf3403ba (patch) | |
tree | df85be05b41eb4761a178ae77f97bd648725cc60 /sound | |
parent | 5a7f261921cf482e17bb9d6641bef8f9c57b7409 (diff) |
[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>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/hda_codec.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 { | |||
234 | 234 | ||
235 | /* Volume knobs capabilities */ | 235 | /* Volume knobs capabilities */ |
236 | #define AC_KNBCAP_NUM_STEPS (0x7f<<0) | 236 | #define AC_KNBCAP_NUM_STEPS (0x7f<<0) |
237 | #define AC_KNBCAP_DELTA (1<<8) | 237 | #define AC_KNBCAP_DELTA (1<<7) |
238 | 238 | ||
239 | /* | 239 | /* |
240 | * Control Parameters | 240 | * Control Parameters |