diff options
author | Adrian Knoth | 2013-07-05 11:28:12 +0200 |
---|---|---|
committer | Takashi Iwai | 2013-07-05 14:52:22 +0200 |
commit | 051c44fec7e250a93d8f3b6704a3ce880a11bb0f (patch) | |
tree | 6554ad5fa2aa1537c97c200d310a89a1358d2fff /sound/pci/rme9652 | |
parent | ALSA: hdspm - Enable AES32 in hdspm_get_wc_sample_rate (diff) | |
download | kernel-qcow2-linux-051c44fec7e250a93d8f3b6704a3ce880a11bb0f.tar.gz kernel-qcow2-linux-051c44fec7e250a93d8f3b6704a3ce880a11bb0f.tar.xz kernel-qcow2-linux-051c44fec7e250a93d8f3b6704a3ce880a11bb0f.zip |
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>
Diffstat (limited to 'sound/pci/rme9652')
-rw-r--r-- | sound/pci/rme9652/hdspm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c index a69957cba0f4..c0143cf83cf3 100644 --- a/sound/pci/rme9652/hdspm.c +++ b/sound/pci/rme9652/hdspm.c @@ -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; } |