aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorCezary Rojewski <[email protected]>2020-11-16 14:33:30 +0100
committerMark Brown <[email protected]>2020-11-16 20:03:29 +0000
commit768a3a3b327da88c2fa6856806d32852a90e75d5 (patch)
tree4712269fed7dc9e1d976186fbddcff21857b9bed /lib/mpi/mpi-mod.c
parent1072460a1aabacf6ececda98acd3b5ecaad23fd2 (diff)
ASoC: Intel: catpt: Optimize applying user settings
Initial user settings such as volume control need to be applied only once after stream is allocated. As prepare() operation can be invoked multiple times during the stream's lifetime, relocate catpt_dai_apply_usettings() and call it directly within catpt_dai_hw_params() rather than on every catpt_dai_prepare(). catpt_dai_apply_usettings() remains unchanged. Signed-off-by: Cezary Rojewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions