Message ID | 20201007135701.20372-2-cezary.rojewski@intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 56a53ece74e4a5d47f6915f6b81623cec5151f09 |
Headers | show |
Series | [1/2] ASoC: Intel: catpt: Fix compilation when CONFIG_MODULES is disabled | expand |
On 10/7/20 6:57 AM, Cezary Rojewski wrote: > catpt selects DW_DMAC_CORE which requires DMADEVICES. Fix unmet direct > dependencies warning by updating driver's depends-on list. > > Fixes: 6cbfa11d2694 ("ASoC: Intel: Select catpt and deprecate haswell") > Reported-by: Randy Dunlap <rdunlap@infradead.org> > Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> Acked-by: Randy Dunlap <rdunlap@infradead.org> Thanks. > --- > sound/soc/intel/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig > index 1278bea4e1be..a5b446d5af19 100644 > --- a/sound/soc/intel/Kconfig > +++ b/sound/soc/intel/Kconfig > @@ -21,7 +21,7 @@ config SND_SOC_INTEL_SST > config SND_SOC_INTEL_CATPT > tristate "Haswell and Broadwell" > depends on ACPI || COMPILE_TEST > - depends on SND_DMA_SGBUF > + depends on DMADEVICES && SND_DMA_SGBUF > select DW_DMAC_CORE > select SND_SOC_ACPI_INTEL_MATCH > help >
diff --git a/sound/soc/intel/Kconfig b/sound/soc/intel/Kconfig index 1278bea4e1be..a5b446d5af19 100644 --- a/sound/soc/intel/Kconfig +++ b/sound/soc/intel/Kconfig @@ -21,7 +21,7 @@ config SND_SOC_INTEL_SST config SND_SOC_INTEL_CATPT tristate "Haswell and Broadwell" depends on ACPI || COMPILE_TEST - depends on SND_DMA_SGBUF + depends on DMADEVICES && SND_DMA_SGBUF select DW_DMAC_CORE select SND_SOC_ACPI_INTEL_MATCH help
catpt selects DW_DMAC_CORE which requires DMADEVICES. Fix unmet direct dependencies warning by updating driver's depends-on list. Fixes: 6cbfa11d2694 ("ASoC: Intel: Select catpt and deprecate haswell") Reported-by: Randy Dunlap <rdunlap@infradead.org> Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com> --- sound/soc/intel/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)