diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2012-10-19 11:42:28 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2012-10-20 04:43:59 -0400 |
commit | 9a215f47da029b04bf92f1f68abf978211155ceb (patch) | |
tree | 1952708a815bd61e1ed9e68ad20369ee8cb9a851 /sound/pci | |
parent | 2e0452f544758d798ba76016c00783f654b43fe3 (diff) |
ALSA: hdspm - Fix sync_in detection on AES/AES32
According to the documentation, AES32 cards use a different bit position
for reporting the sync_in status.
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index 5d70efec26c0..b8b15ee5eebb 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c | |||
@@ -3892,8 +3892,8 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm) | |||
3892 | 3892 | ||
3893 | case AES32: | 3893 | case AES32: |
3894 | status = hdspm_read(hdspm, HDSPM_statusRegister2); | 3894 | status = hdspm_read(hdspm, HDSPM_statusRegister2); |
3895 | lock = (status & HDSPM_syncInLock) ? 1 : 0; | 3895 | lock = (status & 0x100000) ? 1 : 0; |
3896 | sync = (status & HDSPM_syncInSync) ? 1 : 0; | 3896 | sync = (status & 0x200000) ? 1 : 0; |
3897 | break; | 3897 | break; |
3898 | 3898 | ||
3899 | case MADIface: | 3899 | case MADIface: |