diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2011-06-12 11:26:18 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-06-12 12:49:56 -0400 |
commit | fedf1535ab5ee02acbbc235c2272d84bb9334758 (patch) | |
tree | 9f74641e449e14ffa50ca50b2a60eaeead4a8426 /sound | |
parent | c0da00145f9a32ef33b14508e6fd90fc130afbdc (diff) |
ALSA: hdspm - Fix jumping external wordclock frequency in AutoSync mode
When using Word Clock on RME MADI cards, AutoSync mode was alternating
betweeen MADI and WC due to a typo: AutoSync is indicated in the second
status register (status2), not the first one (status).
While the proc output was always correct, the reported WC frequency to
ALSA was unstable as mentioned in
http://mailman.alsa-project.org/pipermail/alsa-devel/2008-March/006723.html
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 32d80af012cc..d03ef94d570e 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -1143,7 +1143,7 @@ static int hdspm_external_sample_rate(struct hdspm *hdspm) | |||
1143 | 1143 | ||
1144 | /* if wordclock has synced freq and wordclock is valid */ | 1144 | /* if wordclock has synced freq and wordclock is valid */ |
1145 | if ((status2 & HDSPM_wcLock) != 0 && | 1145 | if ((status2 & HDSPM_wcLock) != 0 && |
1146 | (status & HDSPM_SelSyncRef0) == 0) { | 1146 | (status2 & HDSPM_SelSyncRef0) == 0) { |
1147 | 1147 | ||
1148 | rate_bits = status2 & HDSPM_wcFreqMask; | 1148 | rate_bits = status2 & HDSPM_wcFreqMask; |
1149 | 1149 | ||