Re: [PATCH v2 1/2] dmaengine: Add an enum for the dmaengine alignment constraints
From: Thomas Petazzoni
Date: Mon Jul 27 2015 - 03:09:59 EST
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/