Skip to content

Commit 8292c81

Browse files
plbossartvinodkoul
authored andcommitted
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>
1 parent bc13cf3 commit 8292c81

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

drivers/soundwire/cadence_master.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,6 +1319,12 @@ static void cdns_init_clock_ctrl(struct sdw_cdns *cdns)
13191319
u32 ssp_interval;
13201320
int divider;
13211321

1322+
dev_dbg(cdns->dev, "mclk %d max %d row %d col %d\n",
1323+
prop->mclk_freq,
1324+
prop->max_clk_freq,
1325+
prop->default_row,
1326+
prop->default_col);
1327+
13221328
/* Set clock divider */
13231329
divider = (prop->mclk_freq / prop->max_clk_freq) - 1;
13241330

0 commit comments

Comments
 (0)