aboutsummaryrefslogtreecommitdiff
path: root/sound/firewire
diff options
context:
space:
mode:
authorKuninori Morimoto2021-02-04 08:50:31 +0900
committerMark Brown2021-02-12 12:36:43 +0000
commitf6c04af5dc4b80e70160acd9a7b04b185e093c71 (patch)
treecc0aac90f3f2329e6c840de72b7bcb95b6ed16d1 /sound/firewire
parent6e9586361e145cd688e525880e1f84c0ccf57566 (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