From 7cb155ff3e4645188c42d707300e36cfce44e28a Mon Sep 17 00:00:00 2001 From: Adrian Knoth Date: Mon, 15 Aug 2011 00:22:53 +0200 Subject: [PATCH] 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 Signed-off-by: Takashi Iwai --- Reading git-format-patch failed