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

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