]> Git Repo - linux.git/commitdiff
[ALSA] hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec
authorAndrew Paprocki <[email protected]>
Mon, 17 Dec 2007 10:49:44 +0000 (11:49 +0100)
committerJaroslav Kysela <[email protected]>
Thu, 31 Jan 2008 16:29:36 +0000 (17:29 +0100)
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 <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Signed-off-by: Jaroslav Kysela <[email protected]>
sound/pci/hda/hda_codec.h

index 03315105c904b2bee920af73d6d4d3ff30eb526c..851abfed4e91a841456d93aec155dd5e54559ed9 100644 (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
This page took 0.0431820000000001 seconds and 4 git commands to generate.