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(a)vger.kernel.org> # v4.12+
Fixes: 76fdb3a9e13a ('ALSA: fireface: add support for Fireface 400')
Signed-off-by: Takashi Sakamoto <o-takashi(a)sakamocchi.jp>
---
sound/firewire/fireface/ff-protocol-ff400.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/firewire/fireface/ff-protocol-ff400.c b/sound/firewire/fireface/ff-protocol-ff400.c
index 64c3cb0fb926..654a50319198 100644
--- a/sound/firewire/fireface/ff-protocol-ff400.c
+++ b/sound/firewire/fireface/ff-protocol-ff400.c
@@ -30,7 +30,7 @@ static int ff400_get_clock(struct snd_ff *ff, unsigned int *rate,
int err;
err = snd_fw_transaction(ff->unit, TCODE_READ_QUADLET_REQUEST,
- FF400_SYNC_STATUS, ®, sizeof(reg), 0);
+ FF400_CLOCK_CONFIG, ®, sizeof(reg), 0);
if (err < 0)
return err;
data = le32_to_cpu(reg);
--
2.19.1
Hi folks,
I sometimes see stable release candidates move backwards in time.
For example, in the last few days, for v4.4.y.queue:
Dec 08 06:55 v4.4.166
Dec 06 23:36 v4.4.166-57-g4e21c8c946b3
Dec 04 03:31 v4.4.166-21-g9caf29c799ac
Dec 04 00:36 v4.4.166-17-g14d854102e8c
Dec 03 04:35 v4.4.166-19-gb8c2abe84488
Dec 02 01:07 v4.4.166
How comes?
Normally I would not notice (or comment). However, after
v4.4.166 the default configuration for arc had changed,
requiring different compilers for defconfig/allnoconfig.
I had fixed this up, but now my builds are broken again
due to the reverted changes.
Thanks,
Guenter