ALSA: hdspm - Refactor SS/DS/QS clock multiplier into function
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 31 May 2013 10:57:10 +0000 (12:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 31 May 2013 13:05:41 +0000 (15:05 +0200)
commita8a729fa06164889da4cacaecebe48370329716b
tree1cb87b544f5441099535dcd51597982e579f49f9
parenta8cd7148045bd6a14adb15985dda806d17e9cab2
ALSA: hdspm - Refactor SS/DS/QS clock multiplier into function

When the DoubleSpeed or QuadSpeed bit is set, the SingleSpeed frequency
has to be multiplied accordingly. Since this functionality will be
required at least twice, refactor it into a separate function.

The second reference to the newly introduced hdspm_rate_multiplier()
will be in a separate commit.

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