Re: [PATCH] spi: tegra114: add spi driver

From: Mark Brown
Date: Wed Feb 20 2013 - 08:34:16 EST


On Wed, Feb 20, 2013 at 06:56:13PM +0530, Laxman Dewangan wrote:

> spi_clk = devm_clk_get(&pdev->dev, "spi");
> spi_clkm = devm_clk_get(&pdev->dev, "clmkm");
> spi_pllp = devm_clk_get(&pdev->dev, "pllp");

> and call clk_set_parent(spi_clk, spi_clkm) or clk_set_parent(spi_clk, spi_pllp).

This also seems like something that ought to be factorable out, ideally
it'd all Just Work(tm) with the clock framework but...

Attachment: signature.asc
Description: Digital signature