[ALSA] hda-codec - Allocate amp hash array dynamically
Modules: HDA Codec driver Allocate amp hash array dynamically instead of static array. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
committed by
Jaroslav Kysela
parent
88026842b0
commit
d031166fec
@@ -545,7 +545,8 @@ struct hda_codec {
|
||||
/* hash for amp access */
|
||||
u16 amp_hash[32];
|
||||
int num_amp_entries;
|
||||
struct hda_amp_info amp_info[128]; /* big enough? */
|
||||
int amp_info_size;
|
||||
struct hda_amp_info *amp_info;
|
||||
|
||||
struct semaphore spdif_mutex;
|
||||
unsigned int spdif_status; /* IEC958 status bits */
|
||||
|
Reference in New Issue
Block a user