All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Sakamoto <o-takashi@sakamocchi.jp>
To: tiwai@suse.de
Cc: alsa-devel@alsa-project.org, clemens@ladisch.de
Subject: [PATCH v2 0/4] ALSA: firewire-lib: drop initial NODATA packets or empty packets
Date: Mon, 24 May 2021 12:13:42 +0900	[thread overview]
Message-ID: <20210524031346.50539-1-o-takashi@sakamocchi.jp> (raw)

Hi,

This patchset is take 2 of my previous one;
 * https://lore.kernel.org/alsa-devel/20210523124114.272134-1-o-takashi@sakamocchi.jp/

The devices based on BeBoB ASICs or the devices in Tascam FireWire
series transfer a batch of NODATA packet or empty packet in initial step
of streaming. To avoid processing them, current implementation uses an
option to skip processing content of tx packet during some initial
cycles. However, the hard-coded number is not enough useful.

In 1st patch, ALSA IEC 61883-1/6 packet streaming engine becomes to drop
the initial packets. As a result, The tx_init_skip_cycles argument of
amdtp_domain_start() function changes its meaning. In the following
patches, ALSA bebob driver is refactored.

Changes from v1:
 * Fix -Wunused-but-set-variable warning reported by 0day-ci
 * Add 2nd patch to obsolete unused member of structure

Takashi Sakamoto (4):
  ALSA: firewire-lib: drop initial NODATA or empty packet
  ALSA: firewire-lib: obsolete callbacked member
  ALSA: bebob: cancel switching connection order
  ALSA: bebob: distinguish M-Audio ProFire Lightbridge quirk

 sound/firewire/amdtp-stream.c       | 145 +++++++++++++++++++---------
 sound/firewire/amdtp-stream.h       |   6 +-
 sound/firewire/bebob/bebob.c        |  10 +-
 sound/firewire/bebob/bebob.h        |   1 +
 sound/firewire/bebob/bebob_stream.c |  25 ++---
 5 files changed, 122 insertions(+), 65 deletions(-)

-- 
2.27.0


             reply	other threads:[~2021-05-24  3:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-24  3:13 Takashi Sakamoto [this message]
2021-05-24  3:13 ` [PATCH v2 1/4] ALSA: firewire-lib: drop initial NODATA or empty packet Takashi Sakamoto
2021-05-24  3:13 ` [PATCH v2 2/4] ALSA: firewire-lib: obsolete callbacked member Takashi Sakamoto
2021-05-24  3:13 ` [PATCH v2 3/4] ALSA: bebob: cancel switching connection order Takashi Sakamoto
2021-05-24  3:13 ` [PATCH v2 4/4] ALSA: bebob: distinguish M-Audio ProFire Lightbridge quirk Takashi Sakamoto
2021-05-25  6:55 ` [PATCH v2 0/4] ALSA: firewire-lib: drop initial NODATA packets or empty packets Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210524031346.50539-1-o-takashi@sakamocchi.jp \
    --to=o-takashi@sakamocchi.jp \
    --cc=alsa-devel@alsa-project.org \
    --cc=clemens@ladisch.de \
    --cc=tiwai@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.