mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-11 15:49:56 +00:00
ALSA: hdspm - Fix sync_in reporting on RME MADI cards
In contrast to AES32, MADI uses the first status register to report the sync_in status. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
b8812c55c5
commit
2e0452f544
@ -3885,6 +3885,11 @@ static int hdspm_sync_in_sync_check(struct hdspm *hdspm)
|
||||
break;
|
||||
|
||||
case MADI:
|
||||
status = hdspm_read(hdspm, HDSPM_statusRegister);
|
||||
lock = (status & HDSPM_syncInLock) ? 1 : 0;
|
||||
sync = (status & HDSPM_syncInSync) ? 1 : 0;
|
||||
break;
|
||||
|
||||
case AES32:
|
||||
status = hdspm_read(hdspm, HDSPM_statusRegister2);
|
||||
lock = (status & HDSPM_syncInLock) ? 1 : 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user