summaryrefslogtreecommitdiffstats
path: root/sound/pci/cs46xx
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2009-12-21 17:07:08 +0100
committerTakashi Iwai <tiwai@suse.de>2009-12-22 07:58:07 +0100
commit8374e24c23448cabf6e78db2c83841c56c5df1e1 (patch)
tree5cef080d34dc41313473e65760395fa61e38b3df /sound/pci/cs46xx
parentcb3b04debbb70de7b266f75777ac2b9ff567c460 (diff)
downloadop-kernel-dev-8374e24c23448cabf6e78db2c83841c56c5df1e1.zip
op-kernel-dev-8374e24c23448cabf6e78db2c83841c56c5df1e1.tar.gz
ALSA: refine rate selection in snd_interval_ratnum()
Refine the rate selection by choosing the rate closer to the requested one in case of selecting single frequency. Previously, the higher rate was always selected. Also, fix problem with the best_diff unsigned int value wrapping (turning negative). Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud