ALSA: hdspm - Introduce hdspm_external_rate_to_enum() helper function
authorAdrian Knoth <adi@drcomp.erfurt.thur.de>
Fri, 5 Jul 2013 09:28:17 +0000 (11:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 5 Jul 2013 12:52:57 +0000 (14:52 +0200)
commit2336142fc0470db2ac831225936b8e37b3ecb2bd
treeb0715bfee5dfba29cbf3c873eadcacb105ae5a5c
parent194062daba00688dfd47caaf01f3131700cd726f
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>
sound/pci/rme9652/hdspm.c
This page took 0.050063 seconds and 5 git commands to generate.