]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: firewire-lib: Add a new function to check others' connection
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 25 Apr 2014 13:44:57 +0000 (22:44 +0900)
committerTakashi Iwai <tiwai@suse.de>
Mon, 26 May 2014 12:22:46 +0000 (14:22 +0200)
commit68e31d1f7f8d6eeea0e684449d78f66cd23e6a83
tree4fc9162da6a97bcc5db9e8aee49e19620cab081e
parentdb552c7675d0007f7461ac8ec6a0ff6dde7234e8
ALSA: firewire-lib: Add a new function to check others' connection

Plug Control Registers have two fields related to the number of established
connections, one is 'Broadcast connection counter' and another is
'Point-to-point connection counter'. The driver can know there are established
connections or not to check these fields.

This commit is for considering about JACK/FFADO streaming. Currently, when
JACK/FFADO starts its streaming to the device, cmp_connection_establish() is
failed expectedly. This seems to be enough but there are some devices which
needs to change sampling frequency before trying to establish connections.
For such devices, this functionality is needed.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/firewire/cmp.c
sound/firewire/cmp.h