ALSA: fireface: fix to parse sync status register of latter protocol
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 7 Feb 2021 15:47:36 +0000 (00:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 4 Mar 2021 10:38:25 +0000 (11:38 +0100)
commit1312a7b68689b31464e604b02819da0a729666de
tree1dccdb6a8a4ca70efe07c561ebdaaff7d08e3af1
parentcaefa1473847524dfe42cf8763326ff6b6449b6b
ALSA: fireface: fix to parse sync status register of latter protocol

commit c50bfc8a6866775be39d7e747e83e8a5a9051e2e upstream.

Fireface UCX, UFX, and FF802 are categorized for latter protocol of the
series. Current support for FF802 (and UFX) includes failure to parse
sync status register and results in EIO.

Further investigation figures out that the content of register differs
depending on models. This commit adds tables specific to FF802 and UFX
to fix it.

Fixes: 062bb452b078b ("ALSA: fireface: add support for RME FireFace 802")
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/20210207154736.229551-1-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/firewire/fireface/ff-protocol-latter.c