Re: [PATCH] sound: depend on ZONE_DMA
From: Takashi Iwai
Date: Mon Nov 16 2015 - 02:41:32 EST
On Sun, 15 Nov 2015 11:53:11 +0100,
Boaz Harrosh wrote:
>
> On 11/12/2015 10:38 PM, Takashi Iwai wrote:
> > On Thu, 12 Nov 2015 21:13:57 +0100,
> > Dan Williams wrote:
> >>
> >> There are several sound drivers that 'select ZONE_DMA'. This is
> >> backwards as ZONE_DMA is an architecture capability exported to drivers.
> >> Switch the polarity of the dependency to disable these drivers when the
> >> architecture does not support ZONE_DMA. This was discovered in the
> >> context of testing/enabling devm_memremap_pages() which depends on
> >> ZONE_DEVICE. ZONE_DEVICE in turn depends on !ZONE_DMA.
> >
> > Makes sense. I applied it now, thanks.
> >
>
> Please add:
> CC: Stable Tree <stable@xxxxxxxxxxxxxxx>
Sorry, too late, already merged.
Takashi
--
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/