diff options
author | 2024-12-18 16:01:47 +0800 | |
---|---|---|
committer | 2024-12-23 12:00:33 +0530 | |
commit | 8f4e3343eda8cdedaf711bf3d8ef2d6ed571f420 (patch) | |
tree | 7ce25719a34de389e2a35ebb365b2821d228c4ba /scripts/generate_rust_analyzer.py | |
parent | soundwire: generic_bandwidth_allocation: skip DEPREPARED streams (diff) | |
download | wireguard-linux-8f4e3343eda8cdedaf711bf3d8ef2d6ed571f420.tar.xz wireguard-linux-8f4e3343eda8cdedaf711bf3d8ef2d6ed571f420.zip |
Soundwire: add sdw_slave_get_scale_index helper
Currently, we only set peripheral frequency when the peripheral is
initialized. However, curr_dr_freq may change to get required bandwidth.
For example, curr_dr_freq may increase from 4.8MHz to 9.6MHz when the
4th stream is opened. Add a helper to get the scale index so that we can
get the scale index and program it.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20241218080155.102405-7-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions