]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit02315174acbf821f4db03767579854f5acb4d3b6
tree1cb87b544f5441099535dcd51597982e579f49f9
parenta40697f8cb8032ff39bc763fe803bae46d704465
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