soundwire: amd: drop bus freq calculation and set 'max_clk_freq'
authorVinod Koul <vkoul@kernel.org>
Wed, 29 Nov 2023 13:04:48 +0000 (18:34 +0530)
committerVinod Koul <vkoul@kernel.org>
Mon, 18 Dec 2023 12:32:10 +0000 (18:02 +0530)
commitbecfce5233a78956654f36555f1b9187f8d11d56
treee8c4dcab9465109cf58e889c4f479b402c048b14
parent55d50ace6b88eb273a10963160cadbadccfcdd64
soundwire: amd: drop bus freq calculation and set 'max_clk_freq'

max_dr_freq and curr_dr_freq is calculated and set in
sdw_bus_master_add(). Setting in the driver is reduanant, so drop that.
Set max_clk_freq instead.

Signed-off-by: Vinod Koul <vkoul@kernel.org>
Tested-by: Vijendar Mukunda <Vijendar.Mukunda@amd.com>
Link: https://lore.kernel.org/r/20231129130449.9892-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/amd_manager.c