ALSA: hdspm - Simplify with snd_pcm_hw_constraint_pow2()
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 08:45:42 +0000 (10:45 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 15 Aug 2011 11:37:03 +0000 (13:37 +0200)
commitd877681d2eab28ae2a7ff08bec9a6fe3b65973fb
treebec22bea49d58ad18f5326865285e0bf684413d6
parent3fa9e3d230911272eaf1c3856f5483b0af3903f3
ALSA: hdspm - Simplify with snd_pcm_hw_constraint_pow2()

Refactoring the code using snd_pcm_hw_constraint_pow2() helper function.

Tested-by: Adrian Knoth <adi@drcomp.erfurt.thur.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/rme9652/hdspm.c