projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a7f261
)
[ALSA] hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec
author
Andrew Paprocki
<andrew@ishiboo.com>
Mon, 17 Dec 2007 10:49:44 +0000
(11:49 +0100)
committer
Jaroslav Kysela
<perex@perex.cz>
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 <andrew@ishiboo.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
sound/pci/hda/hda_codec.h
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/hda_codec.h
b/sound/pci/hda/hda_codec.h
index 03315105c904b2bee920af73d6d4d3ff30eb526c..851abfed4e91a841456d93aec155dd5e54559ed9 100644
(file)
--- 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