diff options
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | 2011-08-15 00:22:53 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-08-15 10:25:32 +0200 |
commit | 7cb155ff3e4645188c42d707300e36cfce44e28a (patch) | |
tree | c31abbd9c8809bc93498856ed05409ae1a6c164e /lib/lcm.c | |
parent | 1ad5972f71f94d8a8b5b683dd5f81a52a4ddf54c (diff) | |
download | op-kernel-dev-7cb155ff3e4645188c42d707300e36cfce44e28a.zip op-kernel-dev-7cb155ff3e4645188c42d707300e36cfce44e28a.tar.gz |
ALSA: hdspm - Introduce hdspm_get_latency() to harmonize latency calculation
Currently, hdspm_decode_latency is called several times, violating the
DRY principle. Given that we need to distinguish between old and new
cards when decoding the latency bits in the control register, introduce
hdspm_get_latency() to provide the required functionality.
Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'lib/lcm.c')
0 files changed, 0 insertions, 0 deletions