ALSA: fireface: fix reference to wrong register for clock configuration
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 9 Dec 2018 08:04:19 +0000 (17:04 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Dec 2018 08:24:41 +0000 (09:24 +0100)
commit03e8b38c517753473fa23bf45f7ace3d27e320e8
tree3c9d50142d7f9c5c835aa3e9373819d8876d01d9
parent384f18115267c0e52748137d6720c81b1cf220e1
ALSA: fireface: fix reference to wrong register for clock configuration

commit fa9c98e4b975bb3192ed6af09d9fa282ed3cd8a0 upstream.

In an initial commit, 'SYNC_STATUS' register is referred to get
clock configuration, however this is wrong, according to my local
note at hand for reverse-engineering about packet dump. It should
be 'CLOCK_CONFIG' register. Actually, ff400_dump_clock_config()
is correctly programmed.

This commit fixes the bug.

Cc: <stable@vger.kernel.org> # v4.12+
Fixes: 76fdb3a9e13a ('ALSA: fireface: add support for Fireface 400')
Signed-off-by: Takashi Sakamoto <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-ff400.c