Commit a7edbd5b authored by Adrian Knoth's avatar Adrian Knoth Committed by Takashi Iwai

ALSA: hdspm - Fix lock/sync reporting on MADI and AES32

Signed-off-by: default avatarAdrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 4ab69a2b
...@@ -3700,8 +3700,8 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm) ...@@ -3700,8 +3700,8 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm)
case MADI: case MADI:
case AES32: case AES32:
status = hdspm_read(hdspm, HDSPM_statusRegister2); status = hdspm_read(hdspm, HDSPM_statusRegister2);
lock = (status & 0x400000) ? 1 : 0; lock = (status & HDSPM_syncInLock) ? 1 : 0;
sync = (status & 0x800000) ? 1 : 0; sync = (status & HDSPM_syncInSync) ? 1 : 0;
break; break;
case MADIface: case MADIface:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment