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 <[email protected]> Reviewed-by: Rander Wang <[email protected]> Signed-off-by: Bard Liao <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
1 parent bc13cf3 commit 8292c81

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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)