mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-30 15:50:10 -04:00
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>
This commit is contained in:
committed by
Takashi Iwai
parent
4ab69a2b3b
commit
a7edbd5bf9
@@ -3700,8 +3700,8 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm)
|
||||
case MADI:
|
||||
case AES32:
|
||||
status = hdspm_read(hdspm, HDSPM_statusRegister2);
|
||||
lock = (status & 0x400000) ? 1 : 0;
|
||||
sync = (status & 0x800000) ? 1 : 0;
|
||||
lock = (status & HDSPM_syncInLock) ? 1 : 0;
|
||||
sync = (status & HDSPM_syncInSync) ? 1 : 0;
|
||||
break;
|
||||
|
||||
case MADIface:
|
||||
|
||||
Reference in New Issue
Block a user