diff options
author | Kuninori Morimoto | 2021-02-04 08:50:31 +0900 |
---|---|---|
committer | Mark Brown | 2021-02-12 12:36:43 +0000 |
commit | f6c04af5dc4b80e70160acd9a7b04b185e093c71 (patch) | |
tree | cc0aac90f3f2329e6c840de72b7bcb95b6ed16d1 /sound/firewire | |
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 <kuninori.morimoto.gx@renesas.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/87sg6c90qv.wl-kuninori.morimoto.gx@renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions