dmaengine: tegra210-adma: Update dependency to ARCH_TEGRA
authorPeter Robinson <pbrobinson@gmail.com>
Fri, 12 Jan 2024 09:32:56 +0000 (09:32 +0000)
committerVinod Koul <vkoul@kernel.org>
Mon, 22 Jan 2024 11:08:11 +0000 (16:38 +0530)
Update the architecture dependency to be the generic Tegra
because the driver works on the four latest Tegra generations
not just T210, if you build a kernel with a specific
ARCH_TEGRA_xxx_SOC option that excludes 210 you don't get
this driver.

Fixes: 433de642a76c9 ("dmaengine: tegra210-adma: add support for Tegra186/Tegra194")
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Cc: Jon Hunter <jonathanh@nvidia.com>
Cc: Thierry Reding <treding@nvidia.com>
Cc: Sameer Pujar <spujar@nvidia.com>
Cc: Laxman Dewangan <ldewangan@nvidia.com>
Reviewed-by: Jon Hunter <jonathanh@nvidia.com>
Link: https://lore.kernel.org/r/20240112093310.329642-2-pbrobinson@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/Kconfig

index e928f2ca0f1e9adc58594d6b4552d64dae29df34..002a5ec806207ca2614615b37eb1e38303292728 100644 (file)
@@ -643,16 +643,16 @@ config TEGRA20_APB_DMA
 
 config TEGRA210_ADMA
        tristate "NVIDIA Tegra210 ADMA support"
-       depends on (ARCH_TEGRA_210_SOC || COMPILE_TEST)
+       depends on (ARCH_TEGRA || COMPILE_TEST)
        select DMA_ENGINE
        select DMA_VIRTUAL_CHANNELS
        help
-         Support for the NVIDIA Tegra210 ADMA controller driver. The
-         DMA controller has multiple DMA channels and is used to service
-         various audio clients in the Tegra210 audio processing engine
-         (APE). This DMA controller transfers data from memory to
-         peripheral and vice versa. It does not support memory to
-         memory data transfer.
+         Support for the NVIDIA Tegra210/Tegra186/Tegra194/Tegra234 ADMA
+         controller driver. The DMA controller has multiple DMA channels
+         and is used to service various audio clients in the Tegra210
+         audio processing engine (APE). This DMA controller transfers
+         data from memory to peripheral and vice versa. It does not
+         support memory to memory data transfer.
 
 config TIMB_DMA
        tristate "Timberdale FPGA DMA support"