[PATCH v2 1/2] dmaengine: Add an enum for the dmaengine alignment constraints

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Jul 27 00:09:50 PDT 2015


Maxime,

On Mon, 27 Jul 2015 08:48:04 +0200, Maxime Ripard wrote:

> I could, but all the rest of the other similar case so far in
> dmaengine are made through enum, so I guess it's still better for
> consistency. And we also provide a comprehensive list of the valid
> values this way, something a function would not provide (or at least
> not at compilation time)

Alright, makes sense.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the linux-arm-kernel mailing list