diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2015-10-18 15:39:33 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2015-10-21 14:26:23 +0200 |
commit | a5be88f63eaff1c03774aecd7388015cb87f6b2c (patch) | |
tree | 8772dfe57b4404978d343add1fa7a523964d3244 /sound/soc/ux500 | |
parent | 3d6a76c48e7b6a80f1311a7ec71db0c6208c6de4 (diff) | |
download | linux-a5be88f63eaff1c03774aecd7388015cb87f6b2c.tar.gz linux-a5be88f63eaff1c03774aecd7388015cb87f6b2c.tar.bz2 linux-a5be88f63eaff1c03774aecd7388015cb87f6b2c.zip |
ASoC: cht_bsw_rt5672: 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/soc/ux500')
0 files changed, 0 insertions, 0 deletions