ALSA: oxfw: enable to keep memory block for model-specific structure

ALSA oxfw driver should have backward compatibility to old
firewire-speakers driver. Additionally, in future commit, scs1x driver
will be merged. It's nice to add a pointer to have a memory block for
model-specific structures.

This commit adds a member to 'struct snd_oxfw' for this aim. Deallocation
is done at freeing ALSA card structure.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Sakamoto
2015-12-16 20:37:54 +09:00
committed by Takashi Iwai
父節點 f67d71ae8b
當前提交 c582cc66b9
共有 2 個文件被更改,包括 2 次插入0 次删除

查看文件

@@ -74,6 +74,7 @@ struct snd_oxfw {
wait_queue_head_t hwdep_wait;
const struct ieee1394_device_id *entry;
void *spec;
};
/*