diff options
| author | Lars-Peter Clausen <[email protected]> | 2015-10-18 13:39:33 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-10-21 12:26:23 +0000 |
| commit | a5be88f63eaff1c03774aecd7388015cb87f6b2c (patch) | |
| tree | 8772dfe57b4404978d343add1fa7a523964d3244 /lib/mpi/mpicoder.c | |
| parent | ASoC: cht_bsw_rt5645: Use snd_pcm_hw_constraint_single() (diff) | |
| download | kernel-a5be88f63eaff1c03774aecd7388015cb87f6b2c.tar.gz kernel-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 <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions
