[PATCH 2/8] ARM i.MX dma-mx1-mx2: use wrapper

Magnus Lilja lilja.magnus at gmail.com
Mon Aug 9 14:51:01 EDT 2010


Hi Sascha,

> diff --git a/arch/arm/mach-imx/dma-v1.c b/arch/arm/mach-imx/dma-v1.c
> index 3e8c47c..d141458 100644
> --- a/arch/arm/mach-imx/dma-v1.c
> +++ b/arch/arm/mach-imx/dma-v1.c
> @@ -35,6 +35,7 @@
...
> @@ -503,7 +517,7 @@ void imx_dma_disable(int channel)
>  	struct imx_dma_channel *imxdma = &imx_dma_channels[channel];
>  	unsigned long flags;
>  
> -	pr_debug("imxdma%d: imx_dma_disable\n", channel);
> +	pr_info("imxdma%d: imx_dma_disable\n", channel);

With this change imx_dma_enable() uses pr_debug() while imx_dma_disable uses pr_info(). Shouldn't both use the same pr_*() since the functions are paired?


Regards, Magnus



More information about the linux-arm-kernel mailing list