diff options
author | Bard Liao | 2023-11-27 20:44:05 +0800 |
---|---|---|
committer | Vinod Koul | 2023-11-28 15:29:55 +0530 |
commit | 55d50ace6b88eb273a10963160cadbadccfcdd64 (patch) | |
tree | 5be7ebb7f95307026fa13a85989a6caa9457cb72 /include/linux | |
parent | a7ae05ef356162c2a7ff108a7ff154d7d0dcd6aa (diff) |
soundwire: generic_bandwidth_allocation use bus->params.max_dr_freq
bus->params.max_dr_freq is calculated and set in sdw_bus_master_add().
We can use it directly instead of calculating it again.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Link: https://lore.kernel.org/r/20231127124405.2080431-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions