[PATCH V2 4/8] dmaengine: bcm2835: add additional defines for DMA-registers

Vinod Koul vinod.koul at intel.com
Wed Jan 13 04:32:38 PST 2016


On Thu, Jan 07, 2016 at 05:33:02PM +0000, kernel at martin.sperl.org wrote:
> +#define BCM2835_DMA_PRIORITY(x) ((x & 15) << 16) /* AXI priority */
> +#define BCM2835_DMA_PANIC_PRIORITY(x) ((x & 15) << 20) /* panic priority */
> +#define BCM2835_DMA_WAIT_FOR_WRITES BIT(28) /* current value of
> +					     * TI.BCM2835_DMA_WAIT_RESP
> +					     */

I would put the comment before this, yes is not consistent but is more
readable..


-- 
~Vinod



More information about the linux-arm-kernel mailing list