ALSA: oxygen: fix chip ID register symbols
Rename the symbol for the XCID pins, fix up a decimal/hex confusion for the CMI8787 package ID, and add the other known package IDs. Signed-off-by: Clemens Ladisch <clemens@ladisch.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
d737f3eede
commit
de0074ee7a
|
@ -436,13 +436,15 @@
|
|||
/* OXYGEN_CHANNEL_* */
|
||||
|
||||
#define OXYGEN_CODEC_VERSION 0xe4
|
||||
#define OXYGEN_XCID_MASK 0x07
|
||||
#define OXYGEN_CODEC_ID_MASK 0x07
|
||||
|
||||
#define OXYGEN_REVISION 0xe6
|
||||
#define OXYGEN_REVISION_XPKGID_MASK 0x0007
|
||||
#define OXYGEN_PACKAGE_ID_MASK 0x0007
|
||||
#define OXYGEN_PACKAGE_ID_8786 0x0004
|
||||
#define OXYGEN_PACKAGE_ID_8787 0x0006
|
||||
#define OXYGEN_PACKAGE_ID_8788 0x0007
|
||||
#define OXYGEN_REVISION_MASK 0xfff8
|
||||
#define OXYGEN_REVISION_2 0x0008 /* bit flag */
|
||||
#define OXYGEN_REVISION_8787 0x0014 /* 8 bits */
|
||||
#define OXYGEN_REVISION_2 0x0008
|
||||
|
||||
#define OXYGEN_OFFSIN_48K 0xe8
|
||||
#define OXYGEN_OFFSBASE_48K 0xe9
|
||||
|
|
Loading…
Reference in New Issue