[alsa-devel] [PATCH 0/4 v5] ALSA: dice: improve card registration processing

Takashi Sakamoto o-takashi at sakamocchi.jp
Thu Dec 31 05:58:10 CET 2015


Hi,

This patchset updates my previous one:
[alsa-devel] [PATCH 0/5 v4] ALSA: dice: improve card registration processing
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-December/102504.html

Changes:
 * Merge patch 02 and 03 in v4.
 * Allocate sound card instance in sound card registration work, independently
   of dice instance, allocated in .probe callback and set as driver_data of
   device structure.
 * Use __be32 type for __be32 data.

In this version, sound card instance is not allocated in .probe callback. In
the callback, dice instance is allocated independently of the card instance.
Thus, in .probe callback, this driver reserve no slot of sound card. The
allocation of sound card instance is performed in a scheduled work. When
processing in the work fails, the work can be re-scheduled again according to
bus reset.

Takashi Sakamoto (4):
  ALSA: dice: split subaddress check from category check
  ALSA: dice: postpone card registration
  ALSA: dice: purge transaction initialization at timeout of Dice
    notification
  ALSA: dice: expand timeout to wait for Dice notification

 sound/firewire/dice/dice-transaction.c | 123 +++++++++++-------
 sound/firewire/dice/dice.c             | 227 +++++++++++++++++----------------
 sound/firewire/dice/dice.h             |   3 +
 3 files changed, 202 insertions(+), 151 deletions(-)

-- 
2.5.0



More information about the Alsa-devel mailing list