ALSA: firewire-motu: enable to read transaction cache via hwdep interface
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Wed, 22 Mar 2017 12:30:25 +0000 (21:30 +0900)
committerTakashi Iwai <tiwai@suse.de>
Tue, 28 Mar 2017 10:34:06 +0000 (12:34 +0200)
commit5aaab1bf37ede45df4f5d13d735faf824edf3ec8
treeb1c358629796556f57cf52faf832d226b7b2338d
parent71c3797779d3cd8378767f5b2d8cfd3b2f88c5c1
ALSA: firewire-motu: enable to read transaction cache via hwdep interface

MOTU FireWire series can transfer messages to registered address. These
messages are transferred for the status of internal clock synchronization
just after starting streams.

When the synchronization is stable, it's 0x01ffffff. Else, it's 0x05ffffff.

This commit adds a functionality for user space applications to receive
content of the message.

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