* [PATCH v2 -next] soc/tegra: fuse: Add missing DMADEVICES dependency
@ 2022-06-29 1:54 YueHaibing
2022-07-06 7:00 ` YueHaibing
0 siblings, 1 reply; 3+ messages in thread
From: YueHaibing @ 2022-06-29 1:54 UTC (permalink / raw)
To: thierry.reding, jonathanh, digetx, dmitry.osipenko
Cc: linux-tegra, linux-kernel, YueHaibing
WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
Depends on [n]: DMADEVICES [=n] && (ARCH_TEGRA [=y] || COMPILE_TEST [=n])
Selected by [y]:
- SOC_TEGRA_FUSE [=y] && ARCH_TEGRA [=y] && ARCH_TEGRA_2x_SOC [=y]
TEGRA20_APB_DMA depends on DMADEVICES, so SOC_TEGRA_FUSE also should depends on it
before select it.
Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/soc/tegra/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
index 5725c8ef0406..2b6ba0f798fa 100644
--- a/drivers/soc/tegra/Kconfig
+++ b/drivers/soc/tegra/Kconfig
@@ -135,6 +135,7 @@ endif
config SOC_TEGRA_FUSE
def_bool y
depends on ARCH_TEGRA
+ depends on DMADEVICES
select SOC_BUS
select TEGRA20_APB_DMA if ARCH_TEGRA_2x_SOC
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 -next] soc/tegra: fuse: Add missing DMADEVICES dependency
2022-06-29 1:54 [PATCH v2 -next] soc/tegra: fuse: Add missing DMADEVICES dependency YueHaibing
@ 2022-07-06 7:00 ` YueHaibing
0 siblings, 0 replies; 3+ messages in thread
From: YueHaibing @ 2022-07-06 7:00 UTC (permalink / raw)
To: thierry.reding, jonathanh, digetx, dmitry.osipenko
Cc: linux-tegra, linux-kernel
Pls ignore this.
On 2022/6/29 9:54, YueHaibing wrote:
> WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
> Depends on [n]: DMADEVICES [=n] && (ARCH_TEGRA [=y] || COMPILE_TEST [=n])
> Selected by [y]:
> - SOC_TEGRA_FUSE [=y] && ARCH_TEGRA [=y] && ARCH_TEGRA_2x_SOC [=y]
>
> TEGRA20_APB_DMA depends on DMADEVICES, so SOC_TEGRA_FUSE also should depends on it
> before select it.
>
> Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20")
> Reported-by: Hulk Robot <hulkci@huawei.com>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
> ---
> drivers/soc/tegra/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
> index 5725c8ef0406..2b6ba0f798fa 100644
> --- a/drivers/soc/tegra/Kconfig
> +++ b/drivers/soc/tegra/Kconfig
> @@ -135,6 +135,7 @@ endif
> config SOC_TEGRA_FUSE
> def_bool y
> depends on ARCH_TEGRA
> + depends on DMADEVICES
> select SOC_BUS
> select TEGRA20_APB_DMA if ARCH_TEGRA_2x_SOC
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH v2 -next] soc/tegra: fuse: Add missing DMADEVICES dependency
@ 2022-07-06 7:00 YueHaibing
0 siblings, 0 replies; 3+ messages in thread
From: YueHaibing @ 2022-07-06 7:00 UTC (permalink / raw)
To: thierry.reding, jonathanh, digetx, dmitry.osipenko
Cc: linux-tegra, linux-kernel, YueHaibing
WARNING: unmet direct dependencies detected for TEGRA20_APB_DMA
Depends on [n]: DMADEVICES [=n] && (ARCH_TEGRA [=y] || COMPILE_TEST [=n])
Selected by [y]:
- SOC_TEGRA_FUSE [=y] && ARCH_TEGRA [=y] && ARCH_TEGRA_2x_SOC [=y]
TEGRA20_APB_DMA depends on DMADEVICES, so add this condition check while select it.
Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20")
Suggested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
v2: Add DMADEVICES check instead of depending it.
---
drivers/soc/tegra/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/soc/tegra/Kconfig b/drivers/soc/tegra/Kconfig
index 5725c8ef0406..d29010e11a3c 100644
--- a/drivers/soc/tegra/Kconfig
+++ b/drivers/soc/tegra/Kconfig
@@ -136,7 +136,7 @@ config SOC_TEGRA_FUSE
def_bool y
depends on ARCH_TEGRA
select SOC_BUS
- select TEGRA20_APB_DMA if ARCH_TEGRA_2x_SOC
+ select TEGRA20_APB_DMA if (ARCH_TEGRA_2x_SOC && DMADEVICES)
config SOC_TEGRA_FLOWCTRL
bool
--
2.17.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-07-06 7:02 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-29 1:54 [PATCH v2 -next] soc/tegra: fuse: Add missing DMADEVICES dependency YueHaibing
2022-07-06 7:00 ` YueHaibing
2022-07-06 7:00 YueHaibing
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.