[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <52E9A8F0.8030901@elopez.com.ar>
Date: Wed, 29 Jan 2014 22:20:48 -0300
From: Emilio López <emilio@...pez.com.ar>
To: Maxime Ripard <maxime.ripard@...e-electrons.com>
CC: linux-sunxi@...glegroups.com, Mark Brown <broonie@...nel.org>,
Mike Turquette <mturquette@...aro.org>,
linux-spi@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
kevin.z.m.zh@...il.com, sunny@...winnertech.com,
shuge@...winnertech.com, zhuzhenhua@...winnertech.com
Subject: Re: [linux-sunxi] [PATCH v2 3/5] spi: sunxi: Add Allwinner A31 SPI
controller driver
Hi Maxime,
El 29/01/14 08:10, Maxime Ripard escribió:
> The Allwinner A31 has a new SPI controller IP compared to the older Allwinner
> SoCs.
>
> It supports DMA, but the driver only does PIO for now, and DMA will be
> supported eventually.
>
> Signed-off-by: Maxime Ripard <maxime.ripard@...e-electrons.com>
> ---
(snip)
> + struct sun6i_spi *sspi = spi_master_get_devdata(master);
> + int ret;
> +
> + ret = clk_prepare_enable(sspi->hclk);
> + if (ret) {
> + dev_err(dev, "Couldn't enable clock 'ahb spi'\n");
> + goto out;
> + }
> +
> + ret = clk_prepare_enable(sspi->mclk);
> + if (ret) {
> + dev_err(dev, "Couldn't enable clock 'ahb spi'\n");
A different message would be nice :)
Cheers,
Emilio
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists