]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: hdspm - Report external rate in slave mode on PCI MADI
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 19 Oct 2012 15:42:23 +0000 (17:42 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 20 Oct 2012 08:40:07 +0000 (10:40 +0200)
commitc93909e65f6c349765a24ab40427982a4ac0d1f0
tree99a3f9b057232463ddc261780d1301d50f800e0f
parent1743a1da006530e237af57dfc180c3da6e54a831
ALSA: hdspm - Report external rate in slave mode on PCI MADI

As a follow-up to 7b3a33495a0c66dd50a472324f4aacdb40e54bf1, report the
external sample rate as system_sample_rate when in slave mode.

For PCIe MADI cards, the DDS value automatically contains the external
sample rate, but the PCI version needs this manual workaround.

Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c