Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[ALSA] au88x0 - Fix structs for equalizer

Modules: au88x0 driver

Fixed the structures for equalizer.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

authored by

Takashi Iwai and committed by
Jaroslav Kysela
f0283f45 95b71296

+3 -6
+3 -6
sound/pci/au88x0/au88x0_eq.h
··· 13 13 typedef struct { 14 14 u16 LeftCoefs[50]; //0x4 15 15 u16 RightCoefs[50]; // 0x68 16 - u16 LeftGains[20]; //0xd0 17 - u16 RightGains[20]; //0xe4 16 + u16 LeftGains[10]; //0xd0 17 + u16 RightGains[10]; //0xe4 18 18 } auxxEqCoeffSet_t; 19 19 20 20 typedef struct { 21 - u32 ptr_this00; /*CAsp4HwIO */ 22 21 s32 this04; /* How many filters for each side (default = 10) */ 23 22 s32 this08; /* inited to cero. Stereo flag? */ 24 23 } eqhw_t; 25 24 26 25 typedef struct { 27 - u32 ptr_this00; /*CAsp4Core */ 28 26 eqhw_t this04; /* CHwEq */ 29 27 u16 this08; /* Bad codec flag ? SetBypassGain: bypass gain */ 30 28 u16 this0a; ··· 30 32 u16 this0e; 31 33 32 34 s32 this10; /* How many gains are used for each side (right or left). */ 33 - u16 this14_array[32]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ 34 - s32 this24; 35 + u16 this14_array[10]; /* SetLeftGainsTarget: Left (and right?) EQ gains */ 35 36 s32 this28; /* flag related to EQ enabled or not. Gang flag ? */ 36 37 s32 this54; /* SetBypass */ 37 38 s32 this58;