[alsa-devel] [PATCH 16/39] firewire-lib: Add some AV/C general commands

Takashi Sakamoto o-takashi at sakamocchi.jp
Mon Mar 10 13:46:48 CET 2014

(Mar 10 2014 06:32), Clemens Ladisch wrote:
> All these functions return errors with two different mechanisms, the AV/C
> response code or a negative Linux error code.  This forces the caller to
> add a second error check that duplicates the one inside the function:

It's my intension.

Currently firewire-lib doesn't support 'deferred transaction' defined in 
'AV/C Digital Interface Command Set General
Specification (4.0 or later as long as I know)'. Then each driver needs 
to judge response codes.

> Would there be problems if any response except ACCEPTED resulted in -EIO?

The speakers.c did it. So I just keep it.

> (And here, error should be err_buffer.)



Takashi Sakamoto
o-takashi at sakamocchi.jp

More information about the Alsa-devel mailing list