summaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2015-10-18 15:39:32 +0200
committerTakashi Iwai <tiwai@suse.de>2015-10-21 14:26:11 +0200
commit3d6a76c48e7b6a80f1311a7ec71db0c6208c6de4 (patch)
treed51f32850039fbedecdd5b706815793ed377a217 /sound/pci
parenta6553a24d44f30aa0ae3ca3bff736d346c9d42d6 (diff)
downloadlinux-3d6a76c48e7b6a80f1311a7ec71db0c6208c6de4.tar.bz2
ASoC: cht_bsw_rt5645: Use snd_pcm_hw_constraint_single()
Use the new snd_pcm_hw_constraint_single() helper function rather than installing a list constraint with a single value. Since snd_pcm_hw_constraint_single() sets a static constraint while snd_pcm_hw_constraint_list() sets a dynamic constraint the former is slightly more efficient and it also needs less code. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Vinod Koul <vinod.koul@intel.com> Acked-by: Mark Brown <broonie@kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
0 files changed, 0 insertions, 0 deletions