[PATCH V2 1/2] ARM: EXYNOS4: Add SPI support
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Oct 13 06:02:06 EDT 2011
On Mon, Oct 10, 2011 at 01:38:04PM +0530, Padmavathi Venna wrote:
> +void __init exynos4_spi_set_info(int cntrlr, int src_clk_nr, int num_cs)
> +{
> + struct s3c64xx_spi_info *pd;
> +
> + /* Reject invalid configuration */
> + if (!num_cs || src_clk_nr < 0
> + || src_clk_nr > EXYNOS4_SPI_SRCCLK_SCLK) {
> + printk(KERN_ERR "%s: Invalid SPI configuration\n", __func__);
Let's start using pr_err() rather than printk(KERN_ERR...) in ARM code
please.
More information about the linux-arm-kernel
mailing list