mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-17 19:59:19 +08:00
soundwire: cadence: show the bus frequency and frame shape
This log is useful when trying different configurations, specifically to make sure ACPI initrd overrides have been taken into account. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20240326092030.1062802-2-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
committed by
Vinod Koul
parent
bc13cf3f6e
commit
8292c815bb
@@ -1319,6 +1319,12 @@ static void cdns_init_clock_ctrl(struct sdw_cdns *cdns)
|
||||
u32 ssp_interval;
|
||||
int divider;
|
||||
|
||||
dev_dbg(cdns->dev, "mclk %d max %d row %d col %d\n",
|
||||
prop->mclk_freq,
|
||||
prop->max_clk_freq,
|
||||
prop->default_row,
|
||||
prop->default_col);
|
||||
|
||||
/* Set clock divider */
|
||||
divider = (prop->mclk_freq / prop->max_clk_freq) - 1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user