alsa-project / libhinawa

Mirror of https://git.kernel.org/pub/scm/libs/ieee1394/libhinawa.git for user support and continuous integration. I/O library for IEEE 1394 asynchronous transactions to/from units on the bus, with GObject Introspection.
GNU Lesser General Public License v2.1
7 stars 8 forks source link

[PATCH 0/2] fw_fcp: change bus-reset handling #102

Closed takaswie closed 1 year ago

takaswie commented 1 year ago

In 1394TA AV/C specification, at bus reset, AV/C transaction should be aborted. In Linux FireWire subsystem, the event of bus reset can be delayed enough after the successful response of AV/C transaction. It is just possible to check the aborted transaction only at handling the response.

The series adds generation argument to responded signal, then check request generation and response generation for being aborted.

Takashi Sakamoto (2):
  Revert "fw_fcp: abort transaction at bus reset"
  fw_fcp: check generation of response transaction

 samples/common/__init__.py   |  4 +--
 src/fw_fcp.c                 | 59 +++++++++++-------------------------
 src/fw_fcp.h                 |  4 ++-
 src/hinawa_sigs_marshal.list |  2 +-
 4 files changed, 23 insertions(+), 46 deletions(-)