Re: [PATCH] iio: adc: STM32_DFSDM_ADC should depend on HAS_DMA

From: Mark Brown
Date: Tue Jan 30 2018 - 11:35:19 EST


On Tue, Jan 30, 2018 at 04:31:24PM +0100, Geert Uytterhoeven wrote:
> On Tue, Jan 30, 2018 at 4:03 PM, Mark Brown <broonie@xxxxxxxxxx> wrote:

> > Once again I have to ask why we're doing this per driver and not having
> > the few architectures that have this issue set something up.

> Because doing so would lead us to

> depends on COMPILE_TEST || HAS_DMA

> in many places. Is that any better?

Honestly I'd just not have any dependency here, I'm not sure the DMA
dependencies are really covering a good percentage of what's really
likely to be found on these platforms.

Attachment: signature.asc
Description: PGP signature