]> www.infradead.org Git - users/hch/misc.git/commit
soundwire: cadence_master: set frame shape and divider based on actual clk freq
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 5 Feb 2025 07:42:31 +0000 (15:42 +0800)
committerVinod Koul <vkoul@kernel.org>
Thu, 13 Feb 2025 16:18:32 +0000 (21:48 +0530)
commite738d77f78b3ac085dfb51be414e93464abba7ec
treebcce385aac50b7753b53aecd4f1f0b8ad2ed28b1
parent2014c95afecee3e76ca4a56956a936e23283f05b
soundwire: cadence_master: set frame shape and divider based on actual clk freq

Frame shape and curr_dr_freq could be updated by sdw_compute_bus_params().
Peripherals will set curr_dr_freq as their frequency. Managers
should do the same. Then update frame shape according to the actual
bus frequency.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://lore.kernel.org/r/20250205074232.87537-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/cadence_master.c