diff options
author | 2024-12-18 16:01:51 +0800 | |
---|---|---|
committer | 2024-12-23 12:00:33 +0530 | |
commit | 4a7927d54d2c819029e70f6efa768085b90bfc34 (patch) | |
tree | d1c72e19546f61f323fa444c09a896ace920d844 /scripts/generate_rust_analyzer.py | |
parent | soundwire: generic_bandwidth_allocation: correct clk_freq check in sdw_select_row_col (diff) | |
download | wireguard-linux-4a7927d54d2c819029e70f6efa768085b90bfc34.tar.xz wireguard-linux-4a7927d54d2c819029e70f6efa768085b90bfc34.zip |
soundwire: generic_bandwidth_allocation: check required freq accurately
Currently, we check curr_dr_freq roughly by "if (curr_dr_freq <=
bus->params.bandwidth)" in sdw_compute_bus_params() and check it
accurately in sdw_select_row_col(). It works if we only support one
freq. But, we need to check it accurately in sdw_select_row_col() to
give it a chance to use a higher freq or use multi-lane.
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-11-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