ASoC: atmel: ATMEL drivers don't need HAS_DMA
PATCH v3 1/1 ASoC: atmel: ATMEL drivers don't need HAS_DMA
On a config (such as arch/sh/) which does not set HAS_DMA when MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends on HAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.
Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && HAS_DMA [=n] Selected by [m]:
- SND_ATMEL_SOC_SSC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m]
- SND_ATMEL_SOC_SSC_PDC [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m]
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] && HAS_DMA [=n]
Selected by [m]:
- SND_AT91_SOC_SAM9G20_WM8731 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && SND_SOC_I2C_AND_SPI [=m]
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && HAS_DMA [=n] Selected by [m]:
- SND_ATMEL_SOC_SSC_DMA [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m]
WARNING: unmet direct dependencies detected for SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && ATMEL_SSC [=m] && HAS_DMA [=n]
Selected by [m]:
- SND_ATMEL_SOC_WM8904 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && I2C [=m]
- SND_AT91_SOC_SAM9X5_WM8731 [=m] && SOUND [=m] && !UML && SND [=m] && SND_SOC [=m] && SND_ATMEL_SOC [=m] && (ARCH_AT91 || COMPILE_TEST [=y]) && ATMEL_SSC [=m] && SND_SOC_I2C_AND_SPI [=m]
---
v2: rebase & resend;
drop Cc: to Bo Shen <[email protected]> # bounced
v3: drop "depends on HAS_DMA" (as suggested by Codrin; Thanks)
--- sound/soc/atmel/Kconfig | 1 - 1 file changed, 1 deletion(-)
sound/soc/atmel/Kconfig +0 -1
@@ -11,7 +11,6 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC bool - depends on HAS_DMA config SND_ATMEL_SOC_DMA bool
Quoted 30 lines · Randy Dunlap
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]
Quoted 10 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Signed-off-by Randy Dunlap <[email protected]>Cc Codrin Ciubotariu <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Michał Mirosław <[email protected]>Cc Alexandre Belloni <[email protected]>
Quoted 19 lines
---
v2: rebase & resend;
drop Cc: to Bo Shen <[email protected]> # bounced
v3: drop "depends onHAS_DMA" (as suggested by Codrin; Thanks)--- sound/soc/atmel/Kconfig | 1 - 1 file changed, 1 deletion(-)sound/soc/atmel/Kconfig +0
-1@@ -11,7 +11,6 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC bool - depends on HAS_DMA config SND_ATMEL_SOC_DMA bool
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]
Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for HAS_DMA in the first place was the COMPILE_TEST with m32r arch. I dig a bit, and, if any, I think we should use:
since this commit adds dummy DMA support for m32r and seems to fix the HAS_DMA dependency.
Quoted 6 lines
Signed-off-by Randy Dunlap <[email protected]>Cc Codrin Ciubotariu <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Michał Mirosław <[email protected]>
Other than that:
Thanks!
Codrin
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")
Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used 8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends on HAS_DMA".
Quoted 9 lines
Quoted 6 lines
Signed-off-by Randy Dunlap <[email protected]>Cc Codrin Ciubotariu <[email protected]>Cc Liam Girdwood <[email protected]>Cc Mark Brown <[email protected]>Cc Michał Mirosław <[email protected]>Other than that:
Reviewed-by Codrin Ciubotariu <[email protected]>
Thanks. I'll send a v4 with your Fixes: suggestion.
Hi Randy,
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.
Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".
M32r was not the only platform NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).
So the real fix was probably commit f29ab49b5388b2f8 ("dma-mapping:
Convert NO_DMA get_dma_ops() into a real dummy"), or one of the related commits adding dummies to subsystems.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 55 lines · Geert Uytterhoeven
Hi Randy,
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".
Quoted 6 lines
M32r was not the only platform
NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).So the real fix was probably commit
f29ab49b5388b2f8("dma-mapping:
ConvertNO_DMAget_dma_ops()into a real dummy"), or one of the related commits adding dummies to subsystems.
Hi Geert,
Does this mean that some other actions are needed here? E.g. revert + a different kind of fix?
thanks.
Signature · 1 line
~Randy
Hi Randy,
Quoted 57 lines · Randy Dunlap
Quoted 56 lines · Geert Uytterhoeven
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".M32r was not the only platform
NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).
Quoted 7 lines
Quoted 3 lines
So the real fix was probably commit
f29ab49b5388b2f8("dma-mapping:
ConvertNO_DMAget_dma_ops()into a real dummy"), or one of the related commits adding dummies to subsystems.Hi Geert,
Does this mean that some other actions are needed here? E.g. revert + a different kind of fix?
While we can now compile drivers using DMA features on NO_DMA platforms, thanks to the dummies, it does mean many of these drivers cannot work on such platforms. So I think it makes sense to replace "depends on HAS_DMA" by "depends on HAS_DMA || COMPILE_TEST" if DMA is not optional to the driver.
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 68 lines · Geert Uytterhoeven
Hi Randy,
Quoted 57 lines · Randy Dunlap
Quoted 56 lines · Geert Uytterhoeven
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".M32r was not the only platform
NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).Quoted 7 lines
Quoted 3 lines
So the real fix was probably commit
f29ab49b5388b2f8("dma-mapping:
ConvertNO_DMAget_dma_ops()into a real dummy"), or one of the related commits adding dummies to subsystems.Hi Geert,
Does this mean that some other actions are needed here? E.g. revert + a different kind of fix?
Quoted 5 lines
While we can now compile drivers using DMA features on
NO_DMAplatforms, thanks to the dummies, it does mean many of these drivers cannot work on such platforms. So I think it makes sense to replace "depends onHAS_DMA" by "depends onHAS_DMA||COMPILE_TEST" if DMA is not optional to the driver.
Hi Geert,
Is this what you had in mind? It seems to work with my (limited) testing.
thanks.
--- sound/soc/atmel/Kconfig | 1 + 1 file changed, 1 insertion(+)
sound/soc/atmel/Kconfig +1 -0
@@ -11,6 +11,7 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC bool + depends on HAS_DMA || COMPILE_TEST config SND_ATMEL_SOC_DMA bool
Hi Randy,
Quoted 72 lines · Randy Dunlap
Quoted 62 lines · Geert Uytterhoeven
Quoted 61 lines · Randy Dunlap
Quoted 59 lines · Geert Uytterhoeven
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".M32r was not the only platform
NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).So the real fix was probably commit
f29ab49b5388b2f8("dma-mapping:
ConvertNO_DMAget_dma_ops()into a real dummy"), or one of the related commits adding dummies to subsystems.Quoted 8 lines
Quoted 2 lines
Does this mean that some other actions are needed here? E.g. revert + a different kind of fix?
While we can now compile drivers using DMA features on
NO_DMAplatforms, thanks to the dummies, it does mean many of these drivers cannot work on such platforms. So I think it makes sense to replace "depends onHAS_DMA" by "depends onHAS_DMA||COMPILE_TEST" if DMA is not optional to the driver.
Quoted 4 lines
Hi Geert,
Is this what you had in mind? It seems to work with my (limited) testing.
Yes. And also for other symbols for drivers that now compile fine if !HAS_DMA, thanks to the dummies.
sound/soc/atmel/Kconfig if SND_ATMEL_SOC · line 17
Quoted 10 lines
sound/soc/atmel/Kconfig +1
-0@@ -11,6 +11,7 @@ if SND_ATMEL_SOC config SND_ATMEL_SOC_PDC bool + depends on HAS_DMA || COMPILE_TEST config SND_ATMEL_SOC_DMA bool
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
Quoted 87 lines · Geert Uytterhoeven
Hi Randy,
Quoted 72 lines · Randy Dunlap
Quoted 62 lines · Geert Uytterhoeven
Quoted 61 lines · Randy Dunlap
Quoted 59 lines · Geert Uytterhoeven
Quoted 45 lines · Randy Dunlap
Quoted 37 lines · On 7/8/21 1:19 AM, [email protected] wrote:
Quoted 32 lines · Randy Dunlap
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m]
-SND_ATMEL_SOC_SSC_PDC[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_PDC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_AT91_SOC_SAM9G20_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&HAS_DMA[=n] Selected by [m]:
-SND_ATMEL_SOC_SSC_DMA[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m]WARNING: unmet direct dependencies detected for
SND_ATMEL_SOC_SSC_DMA
Depends on [n]: SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] &&ATMEL_SSC[=m] &&HAS_DMA[=n]
Selected by [m]:
-SND_ATMEL_SOC_WM8904[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] && I2C [=m]
-SND_AT91_SOC_SAM9X5_WM8731[=m] && SOUND [=m] && !UML && SND [=m] &&SND_SOC[=m] &&SND_ATMEL_SOC[=m] && (ARCH_AT91||COMPILE_TEST[=y]) &&ATMEL_SSC[=m] &&SND_SOC_I2C_AND_SPI[=m]Quoted 3 lines
Fixes 3951e4aae2ce ("ASoC: atmel-pcm: dma support based on pcm dmaengine")Fixes 18291410557f ("ASoC: atmel: enable SOC_SSC_PDC and SOC_SSC_DMA in Kconfig")Fixes 061981ff8cc8 ("ASoC: atmel: properly select dma driver state")Quoted 6 lines
I am not sure about these fixes tags. As Alexandre mentioned, it looks like the reason for
HAS_DMAin the first place was theCOMPILE_TESTwith m32r arch. I dig a bit, and, if any, I think we should use:Fixes eb17726b00b3 ("m32r: add simple dma")since this commit adds dummy DMA support for m32r and seems to fix the
HAS_DMAdependency.Quoted 6 lines
Ah, I forgot to update the Fixes: tag(s).
I won't disagree with your Fixes: suggestion (good digging) but I would probably have used
8d7d11005e930:
ASoC: atmel: fix build failure
which is the commit that added "depends onHAS_DMA".M32r was not the only platform
NO_DMA, so I guess the build would have failed for the others, too (e.g. Sun-3).So the real fix was probably commit
f29ab49b5388b2f8("dma-mapping:
ConvertNO_DMAget_dma_ops()into a real dummy"), or one of the related commits adding dummies to subsystems.Quoted 8 lines
Quoted 2 lines
Does this mean that some other actions are needed here? E.g. revert + a different kind of fix?
While we can now compile drivers using DMA features on
NO_DMAplatforms, thanks to the dummies, it does mean many of these drivers cannot work on such platforms. So I think it makes sense to replace "depends onHAS_DMA" by "depends onHAS_DMA||COMPILE_TEST" if DMA is not optional to the driver.Quoted 4 lines
Hi Geert,
Is this what you had in mind? It seems to work with my (limited) testing.
Yes. And also for other symbols for drivers that now compile fine if !HAS_DMA, thanks to the dummies.
Quoted 4 lines
sound/soc/atmel/Kconfig +0
-0@@ -11,6 +11,7 @@ if SND_ATMEL_SOC
Quoted 6 lines
sound/soc/atmel/Kconfig if SND_ATMEL_SOC · line 17
Quoted 6 lines
sound/soc/atmel/Kconfig +1
-0config SND_ATMEL_SOC_PDC bool + depends on HAS_DMA || COMPILE_TEST config SND_ATMEL_SOC_DMA bool
Well. Addressing only sound/, only one more patch is needed AFAICT. For Kconfigs outside of sound/, that would be more of a medium-length project.
Lightly/successfully build-tested.
--- sound/soc/fsl/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
sound/soc/fsl/Kconfig +1 -1
@@ -5,7 +5,7 @@ comment "Common SoC Audio options for Fr config SND_SOC_FSL_ASRC tristate "Asynchronous Sample Rate Converter (ASRC) module support" - depends on HAS_DMA + depends on HAS_DMA || COMPILE_TEST select REGMAP_MMIO select SND_SOC_GENERIC_DMAENGINE_PCM help
Mark Brown
maintainerQuoted 9 lines · Randy Dunlap
On a config (such as
arch/sh/) which does not setHAS_DMAwhen MMU is not set, several ATMEL ASoC drivers select symbols that cause kconfig warnings. There is one "depends onHAS_DMA" which is no longer needed. Dropping it eliminates the kconfig warnings and still builds with no problems reported.Fix the following kconfig warnings:
[...]
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: atmel: ATMEL drivers don't need HAS_DMA
commit: 6c5c659dfe3f02e08054a6c20019e3886618b512
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark