ALSA: hdspm - Refactor sample rate acquisition
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Sat, 9 Mar 2013 23:37:21 +0000 (00:37 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 11 Mar 2013 08:57:22 +0000 (09:57 +0100)
commit3f7bf918bfa2f4b8aa461ae82249e3c187bbff81
tree9dcbb2debec87560cdc5d11da2215e3ac58fb14d
parent93c9d8ae0b25ab7845b26813da1a326d2b1fea43
ALSA: hdspm - Refactor sample rate acquisition

This commit introduces hdspm_get_pll_freq() to avoid code duplication.
Reading the sample rate from the DDS register will be required by
upcoming code.

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