commit | 2336142fc0470db2ac831225936b8e37b3ecb2bd | [log] [tgz] |
---|---|---|
author | Adrian Knoth <adi@drcomp.erfurt.thur.de> | Fri Jul 05 11:28:17 2013 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Fri Jul 05 14:52:57 2013 +0200 |
tree | b0715bfee5dfba29cbf3c873eadcacb105ae5a5c | |
parent | 194062daba00688dfd47caaf01f3131700cd726f [diff] |
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 <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>