diff options
| author | Lars-Peter Clausen <[email protected]> | 2015-10-18 13:39:31 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2015-10-21 12:26:04 +0000 |
| commit | a6553a24d44f30aa0ae3ca3bff736d346c9d42d6 (patch) | |
| tree | 459b9abd7f76d8ee5df4fd39acc401858eacb15f /lib/mpi/mpicoder.c | |
| parent | ASoC: bytcr_rt5640: Use snd_pcm_hw_constraint_single() (diff) | |
| download | kernel-a6553a24d44f30aa0ae3ca3bff736d346c9d42d6.tar.gz kernel-a6553a24d44f30aa0ae3ca3bff736d346c9d42d6.zip | |
ASoC: cht_bsw_max98090: 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
