summaryrefslogtreecommitdiffstats
path: root/lib/lcm.c
diff options
context:
space:
mode:
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>2011-08-15 00:22:53 +0200
committerTakashi Iwai <tiwai@suse.de>2011-08-15 10:25:32 +0200
commit7cb155ff3e4645188c42d707300e36cfce44e28a (patch)
treec31abbd9c8809bc93498856ed05409ae1a6c164e /lib/lcm.c
parent1ad5972f71f94d8a8b5b683dd5f81a52a4ddf54c (diff)
downloadop-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
OpenPOWER on IntegriCloud