Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] hda-codec - Fix definition of AC_KNBCAP_DELTA to match datasheet.
@ 2007-12-04  7:12 Andrew Paprocki
  2007-12-13 11:08 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Andrew Paprocki @ 2007-12-04  7:12 UTC (permalink / raw)
  To: alsa-devel, Takashi Iwai

hda-codec - Fix definition of AC_KNBCAP_DELTA to match datasheet.

AC_KNBCAP_DELTA is incorrectly defined as (1<<8). According to the ALC883
datasheet rev 1.3, this is bit 7 after AC_KNBCAP_NUM_STEPS which is a 0x7f
mask.

Signed-off-by: Andrew Paprocki <andrew@ishiboo.com>


diff -r da002fb740a42b4fd6dcbd45693f9bee3c828812 -r
65b577e690e95e4ace950c3f986270dd3e992192 pci/hda/hda_codec.h
--- a/pci/hda/hda_codec.h       Mon Dec 03 22:52:58 2007 -0500
+++ b/pci/hda/hda_codec.h       Mon Dec 03 23:02:51 2007 -0500
@@ -238,7 +238,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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-13 12:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-04  7:12 [PATCH] hda-codec - Fix definition of AC_KNBCAP_DELTA to match datasheet Andrew Paprocki
2007-12-13 11:08 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox