ALSA: oxfw: move model-specific members from common structure

Currently, 'struct snd_oxfw' has some members for models supported by old
firewire-speakers driver, while these members are useless to the other
models.

This commit allocates new memory block and moves these members to
model-specific structure.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
这个提交包含在:
Takashi Sakamoto
2015-12-16 20:37:55 +09:00
提交者 Takashi Iwai
父节点 c582cc66b9
当前提交 40540de503
修改 2 个文件,包含 34 行新增19 行删除

查看文件

@@ -64,11 +64,6 @@ struct snd_oxfw {
unsigned int midi_input_ports;
unsigned int midi_output_ports;
bool mute;
s16 volume[6];
s16 volume_min;
s16 volume_max;
int dev_lock_count;
bool dev_lock_changed;
wait_queue_head_t hwdep_wait;