Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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

parent 4ab69a2b
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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: