]> 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)
commit82ccd52c1fc9894b5ef68d2375f82a057f1f7eb1
tree99a3f9b057232463ddc261780d1301d50f800e0f
parent330039d94fef788844833c206b8053eee5b0fb25
ALSA: hdspm - Report external rate in slave mode on PCI MADI

As a follow-up to bf793d6604b7af2b5e709c23f66a80ca4f27fd27, 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