soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA
authorDmitry Osipenko <digetx@gmail.com>
Wed, 23 Sep 2020 00:34:21 +0000 (03:34 +0300)
committerThierry Reding <treding@nvidia.com>
Thu, 15 Sep 2022 10:49:14 +0000 (12:49 +0200)
commit2254182807fc09ba9dec9a42ef239e373796f1b2
tree4d4a5759dd7e9fe9148df5b54cd7a6d8c725ab23
parenta28dc5f17da52e4bff08c9deac29f97dd4d3819a
soc/tegra: fuse: Drop Kconfig dependency on TEGRA20_APB_DMA

The DMA subsystem could be entirely disabled in Kconfig and then the
TEGRA20_APB_DMA option isn't available too. Hence kernel configuration
fails if DMADEVICES Kconfig option is disabled due to the unsatisfiable
dependency.

The FUSE driver isn't a critical driver and currently it only provides
NVMEM interface to userspace which isn't known to be widely used, and
thus, it's fine if FUSE driver fails to load.

Let's remove the erroneous Kconfig dependency and let the FUSE driver to
fail the probing if DMA is unavailable.

Fixes: 19d41e5e9c68 ("soc/tegra: fuse: Add APB DMA dependency for Tegra20")
Reported-by: Necip Fazil Yildiran <fazilyildiran@gmail.com>
Link: https://bugzilla.kernel.org/show_bug.cgi?id=209301
Signed-off-by: Dmitry Osipenko <digetx@gmail.com>
drivers/soc/tegra/Kconfig