aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2013-05-31 12:57:11 +0200
committerTakashi Iwai <tiwai@suse.de>2013-05-31 15:06:01 +0200
commit7b5593976c2cae886afb920885580e300ebb01ca (patch)
tree97504ef1f6d38bf7157819b9522dfdff2b9a2909 /sound/pci
parenta8a729fa06164889da4cacaecebe48370329716b (diff)
downloadkernel_goldelico_gta04-7b5593976c2cae886afb920885580e300ebb01ca.zip
kernel_goldelico_gta04-7b5593976c2cae886afb920885580e300ebb01ca.tar.gz
kernel_goldelico_gta04-7b5593976c2cae886afb920885580e300ebb01ca.tar.bz2
ALSA: hdspm - Allow SingleSpeed WordClock when in DS/QS mode
Similarly to MADI, WordClock can also be at SingleSpeed while the card is actually working at twice or four times this rate. If so, multiply the base rate accordingly. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/rme9652/hdspm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/rme9652/hdspm.c b/sound/pci/rme9652/hdspm.c
index 8eb2070..bd50193 100644
--- a/sound/pci/rme9652/hdspm.c
+++ b/sound/pci/rme9652/hdspm.c
@@ -1225,7 +1225,7 @@ static int hdspm_external_sample_rate(struct hdspm *hdspm)
*/
if (rate != 0 &&
(status2 & HDSPM_SelSyncRefMask) == HDSPM_SelSyncRef_WORD)
- return rate;
+ return hdspm_rate_multiplier(hdspm, rate);
/* maybe a madi input (which is taken if sel sync is madi) */
if (status & HDSPM_madiLock) {