[alsa-devel] [PATCH 0/4] ALSA: oxfw: localize stuffs of old firewire-speakers module

Takashi Sakamoto o-takashi at sakamocchi.jp
Wed Dec 16 12:37:53 CET 2015


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.html

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(-)

-- 
2.5.0



More information about the Alsa-devel mailing list