From: Adrian Knoth Date: Wed, 23 Feb 2011 10:43:15 +0000 (+0100) Subject: ALSA: hdspm - Fix lock/sync reporting on MADI and AES32 X-Git-Tag: accepted/tizen/common/20141203.182822~7926^2~23^2~30 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a7edbd5bf944c50d3d2db18b7c5b4e7b22c1a643;p=platform%2Fkernel%2Flinux-arm64.git ALSA: hdspm - Fix lock/sync reporting on MADI and AES32 Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index ced1406..5dbf620 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c @@ -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: