Skip to content

Commit

Permalink
[ALSA] hda-codec - Fix definition of AC_KNBCAP_DELTA to match spec
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Paprocki authored and Jaroslav Kysela committed Jan 31, 2008
1 parent 5a7f261 commit 38fcaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/hda_codec.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 38fcaf8

Please sign in to comment.