Hi,
ALSA oxfw module inherits some stuffs from old firewire-speakers module. Currently, the module's common structure has some members for the stuffs. This is not good because these stuffs are not common between all of supported models. It's better to localize them.
The purpose of this patchset is to enable the module to have memory block and push model-specific stuffs to each structure. This patchset is a part of my previous RFCv2 (patch 06-09) and a preparation for rest of the patches:
[alsa-devel] [RFC][PATCH 00/17 v2] ALSA: oxfw: refactoring and merging scs1x module http://mailman.alsa-project.org/pipermail/alsa-devel/2015-December/101558.ht...
Takashi Sakamoto (4): ALSA: oxfw: enable to keep memory block for model-specific structure ALSA: oxfw: move model-specific members from common structure ALSA: oxfw: move model-specific parameters from common structure ALSA: oxfw: rename a structure so that it means backward compatibility to old drivers
sound/firewire/oxfw/oxfw-spkr.c | 96 ++++++++++++++++++++++++++--------------- sound/firewire/oxfw/oxfw.c | 31 +++++++------ sound/firewire/oxfw/oxfw.h | 17 +------- 3 files changed, 79 insertions(+), 65 deletions(-)