ALSA: oxfw: enable to keep memory block for model-specific structure
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 16 Dec 2015 11:37:54 +0000 (20:37 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 22 Dec 2015 10:50:29 +0000 (11:50 +0100)
commitc582cc66b98af8130f4a26ccbd7e05d5aef2a96d
tree78dd3836e4bd9940aef603069367d6037a5dda89
parentf67d71ae8bb18137eb1909a588879b33e06cc4c4
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>
sound/firewire/oxfw/oxfw.c
sound/firewire/oxfw/oxfw.h