diff options
author | Kuninori Morimoto <[email protected]> | 2021-02-04 08:50:31 +0900 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-02-12 12:36:43 +0000 |
commit | f6c04af5dc4b80e70160acd9a7b04b185e093c71 (patch) | |
tree | cc0aac90f3f2329e6c840de72b7bcb95b6ed16d1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 6e9586361e145cd688e525880e1f84c0ccf57566 (diff) |
ASoC: soc-pcm: add soc_pcm_hw_update_rate()
To update hw, we need to follow setting order
1) set hw->rates
2) call snd_pcm_limit_hw_rates()
3) update hw->rate_min/max
To avoid random settings, this patch adds new soc_pcm_hw_update_rate()
and share updating code.
Signed-off-by: Kuninori Morimoto <[email protected]>
Reviewed-by: Kai Vehmanen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions