Hi,
ALSA oxfw driver has got some patches to expand its functionalities. As a result, current code includes some inefficiencies and confusions.
This patchset is a code refactoring about model-dependent quirks. This patchset is a part of my previous RFCv2 (patch 01-05) and a preparation for the rest of 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 (5): ALSA: oxfw: rename a file for control elements so that it's for model-specific ALSA: oxfw: rename local functions for control elements so that they represent as local ALSA: oxfw: change function prototype for AV/C Audio Subunit command ALSA: oxfw: reuse driver entry to detect quirk ALSA: oxfw: gather model-dependent conditions to a function
sound/firewire/oxfw/Makefile | 4 +- .../firewire/oxfw/{oxfw-control.c => oxfw-spkr.c} | 80 ++++++++++++---------- sound/firewire/oxfw/oxfw.c | 59 +++++++++------- sound/firewire/oxfw/oxfw.h | 6 +- 4 files changed, 86 insertions(+), 63 deletions(-) rename sound/firewire/oxfw/{oxfw-control.c => oxfw-spkr.c} (71%)