Browse Source

ALSA: hdspm - Enable AES32 in hdspm_get_tco_sample_rate

This patch adds AES32 specific code to hdspm_get_tco_sample_rate to
query the TCO sample rate.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
isee-imx_3.14.28.y
Adrian Knoth 7 years ago
committed by Takashi Iwai
parent
commit
051c44fec7
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      sound/pci/rme9652/hdspm.c

+ 3
- 0
sound/pci/rme9652/hdspm.c View File

@ -2204,6 +2204,9 @@ static int hdspm_get_tco_sample_rate(struct hdspm *hdspm)
status = hdspm_read(hdspm, HDSPM_RD_STATUS_1);
return (status >> 20) & 0xF;
break;
case AES32:
status = hdspm_read(hdspm, HDSPM_statusRegister);
return (status >> 1) & 0xF;
default:
break;
}


Loading…
Cancel
Save