All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4 v2] ALSA: dice: improve card registration processing
@ 2015-12-23 22:55 Takashi Sakamoto
  2015-12-23 22:55 ` [PATCH 1/4] ALSA: dice: split subaddress check from category check Takashi Sakamoto
                   ` (3 more replies)
  0 siblings, 4 replies; 19+ messages in thread
From: Takashi Sakamoto @ 2015-12-23 22:55 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel, ffado-devel

Hi,

This patchset is to update my previous one:

[alsa-devel] [PATCH 0/4] ALSA: dice: improve card registration processing
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-December/102357.html

The main purpose of this patchset is to postpone card registration after
successive bus resets, to ensure the processing and related transactions.
This change has an advantage for ALSA dice driver to get proper information
about hardware, especially for Dice II based models.

Changes from v1:
 * fix jiffies64 handling bug 
 * rename some members and functions related to card registration.
  * 'struct snd_dice.probed' -> 'registered'
  * do_probe() -> do_registration()

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 | 122 ++++++++++++++--------
 sound/firewire/dice/dice.c             | 183 ++++++++++++++++-----------------
 sound/firewire/dice/dice.h             |   3 +
 3 files changed, 172 insertions(+), 136 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 0/4 v5] ALSA: dice: improve card registration processing
@ 2015-12-31  4:58 Takashi Sakamoto
  2015-12-31  4:58 ` [PATCH 2/4] ALSA: dice: postpone card registration Takashi Sakamoto
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Sakamoto @ 2015-12-31  4:58 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel, stefanr, ffado-devel

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

^ permalink raw reply	[flat|nested] 19+ messages in thread
* [PATCH 0/4] ALSA: dice: improve card registration processing
@ 2015-12-22 13:45 Takashi Sakamoto
  2015-12-22 13:45 ` [PATCH 2/4] ALSA: dice: postpone card registration Takashi Sakamoto
  0 siblings, 1 reply; 19+ messages in thread
From: Takashi Sakamoto @ 2015-12-22 13:45 UTC (permalink / raw)
  To: clemens, tiwai; +Cc: alsa-devel, ffado-devel

Hi,

This patchset is to update a part of my previous RFCv2 (patch 01, 03 and 04. 02 is dropped according to Clemens' comment).

[alsa-devel] [RFC][PATCH 00/10 v2] ALSA: dice: stabiliza packet streaming
http://mailman.alsa-project.org/pipermail/alsa-devel/2015-December/101897.html

The main purpose of this patchset is to postpone card registration after
successive bus resets, to ensure probe processing and related transactions.
This change has effects for ALSA dice driver to get proper information about
hardware, especially for Dice II based models.

Changes from RFC v2:
 * Patch 03 is newly added to drop a workaround to ensure transactions under
   a situation of probe processing with successive bus reset.
 * Comment updates.

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 | 122 +++++++++++++++--------
 sound/firewire/dice/dice.c             | 177 ++++++++++++++++-----------------
 sound/firewire/dice/dice.h             |   3 +
 3 files changed, 166 insertions(+), 136 deletions(-)

-- 
2.5.0

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-12-31  4:58 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-23 22:55 [PATCH 0/4 v2] ALSA: dice: improve card registration processing Takashi Sakamoto
2015-12-23 22:55 ` [PATCH 1/4] ALSA: dice: split subaddress check from category check Takashi Sakamoto
2015-12-23 22:55 ` [PATCH 2/4] ALSA: dice: postpone card registration Takashi Sakamoto
2015-12-24  5:04   ` Takashi Sakamoto
2015-12-24 15:12   ` Stefan Richter
2015-12-24 19:10     ` Stefan Richter
2015-12-25  0:04       ` Takashi Sakamoto
2015-12-24 20:51   ` Stefan Richter
2015-12-24 21:04     ` Stefan Richter
2015-12-25  0:21     ` Takashi Sakamoto
2015-12-23 22:55 ` [PATCH 3/4] ALSA: dice: purge transaction initialization at timeout of Dice notification Takashi Sakamoto
2015-12-23 22:55 ` [PATCH 4/4] ALSA: dice: expand timeout to wait for " Takashi Sakamoto
  -- strict thread matches above, loose matches on Subject: below --
2015-12-31  4:58 [PATCH 0/4 v5] ALSA: dice: improve card registration processing Takashi Sakamoto
2015-12-31  4:58 ` [PATCH 2/4] ALSA: dice: postpone card registration Takashi Sakamoto
2015-12-22 13:45 [PATCH 0/4] ALSA: dice: improve card registration processing Takashi Sakamoto
2015-12-22 13:45 ` [PATCH 2/4] ALSA: dice: postpone card registration Takashi Sakamoto
2015-12-22 14:03   ` Takashi Iwai
2015-12-23  4:21     ` Takashi Sakamoto
2015-12-23  7:29       ` Takashi Iwai
2015-12-23  9:33         ` Takashi Sakamoto
2015-12-23 14:06           ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.