aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/rme9652
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2011-02-23 05:43:15 -0500
committerTakashi Iwai <tiwai@suse.de>2011-02-23 09:46:44 -0500
commita7edbd5bf944c50d3d2db18b7c5b4e7b22c1a643 (patch)
treee77fffd64f5a109c5762c103673d5350ebed69a6 /sound/pci/rme9652
parent4ab69a2b3b84415085d261bcf848b7a95c010c9d (diff)
ALSA: hdspm - Fix lock/sync reporting on MADI and AES32
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r--sound/pci/rme9652/hdspm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index ced1406d777f..5dbf620a32c2 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -3700,8 +3700,8 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm)
3700 case MADI: 3700 case MADI:
3701 case AES32: 3701 case AES32:
3702 status = hdspm_read(hdspm, HDSPM_statusRegister2); 3702 status = hdspm_read(hdspm, HDSPM_statusRegister2);
3703 lock = (status & 0x400000) ? 1 : 0; 3703 lock = (status & HDSPM_syncInLock) ? 1 : 0;
3704 sync = (status & 0x800000) ? 1 : 0; 3704 sync = (status & HDSPM_syncInSync) ? 1 : 0;
3705 break; 3705 break;
3706 3706
3707 case MADIface: 3707 case MADIface: