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)
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>

No differences found