@@ -1559,12 +1559,13 @@ static int omap2_mcspi_probe(struct
platform_device *pdev)
dev_err(&pdev->dev, "Cannot request IRQ");
goto free_ctlr;
}
-
+ dev_dbg(&pdev->dev, "DEBUG_EXTRA pre calc\n");
mcspi->ref_clk = devm_clk_get_optional_enabled(&pdev->dev, NULL);
if (IS_ERR(mcspi->ref_clk))
mcspi->ref_clk_hz = OMAP2_MCSPI_MAX_FREQ;
else
mcspi->ref_clk_hz = clk_get_rate(mcspi->ref_clk);
+ dev_dbg(&pdev->dev, "DEBUG_EXTRA: ref_clk_hz %d\n", mcspi->ref_clk_hz);
ctlr->max_speed_hz = mcspi->ref_clk_hz;
ctlr->min_speed_hz = mcspi->ref_clk_hz >> 15;