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)
committerTakashi Iwai <tiwai@suse.de>
Sun, 9 Dec 2018 08:37:44 +0000 (09:37 +0100)
commitfa9c98e4b975bb3192ed6af09d9fa282ed3cd8a0
tree61f217aeda938db476b2bd6afc49c54deb043a55
parent6ba189c5c1a4bda70dc1e4826c58b0246068bb8d
ALSA: fireface: fix reference to wrong register for clock configuration

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>
sound/firewire/fireface/ff-protocol-ff400.c