diff options
| author | Geert Uytterhoeven <[email protected]> | 2021-01-29 13:59:15 +0100 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2021-02-01 13:19:46 +0000 |
| commit | e86caa011c80507783e5975bca1458f28c1d2b8c (patch) | |
| tree | fc62899484e20ea1e9dbd6b4c37cb1ad5e3cfaef /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | 8ac9e476b86851c94e0f33bea758e0a00e3f875e (diff) | |
ASoC: tegra: SND_SOC_TEGRA_AUDIO_GRAPH_CARD should depend on SND_SOC_TEGRA
Audio Graph Card based Tegra driver is only useful on NVIDIA Tegra SoCs.
Hence add a dependency on SND_SOC_TEGRA, to prevent asking the user
about this driver when configuring a kernel without Tegra sound support.
Wrap all Tegra sound config options inside a big if/endif block, instead
of just adding the dependency to the single config option that does not
have it yet, to preventing similar future mistakes.
Fixes: 202e2f7745437aa5 ("ASoC: tegra: Add audio graph based card driver")
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Sameer Pujar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions