Skip to contentSkip to conversation

hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec

PATCH Applied Andrew Paprocki 2 participants 2 messages Dec 14, 2007 – Dec 17, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

pci/hda/hda_codec.h +1 -1
diff -r 4a204306b295 -r 3681a8bf780e 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
Applied
#1 lore raw

At Fri, 14 Dec 2007 12:48:00 -0400,

Quoted 5 lines · Andrew Paprocki

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.

Applied to HG tree now. Thanks.

Takashi

Quoted 18 lines

diff -r 4a204306b295 -r 3681a8bf780e pci/hda/hda_codec.h

pci/hda/hda_codec.h +1 -1
@@ -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

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel