From: Adrian Knoth Date: Fri, 5 Jul 2013 09:28:17 +0000 (+0200) Subject: ALSA: hdspm - Introduce hdspm_external_rate_to_enum() helper function X-Git-Tag: v3.12-rc1~150^2~54^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2336142fc0470db2ac831225936b8e37b3ecb2bd;p=pandora-kernel.git ALSA: hdspm - Introduce hdspm_external_rate_to_enum() helper function This patch refactors the code to query the external sample rate and its translation into the corresponding enum into a helper function to prevent future code duplication. A later commit will make use of this new helper function. Signed-off-by: Adrian Knoth Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed