mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 09:11:26 +03:00
When booting kernels that have both the upstream and out-of-tree audio drivers for Tegra present the following errors are observed ... Error: Driver 'tegra210-ahub' is already registered, aborting... Error: Driver 'tegra210-amx' is already registered, aborting... Error: Driver 'tegra186-dspk' is already registered, aborting... Error: Driver 'tegra210-mvc' is already registered, aborting... Error: Driver 'tegra210-adx' is already registered, aborting... Error: Driver 'tegra210-ahub' is already registered, aborting... Error: Driver 'tegra210_mixer' is already registered, aborting... Error: Driver 'tegra186-asrc' is already registered, aborting... Error: Driver 'tegra210-dmic' is already registered, aborting... Error: Driver 'tegra210-i2s' is already registered, aborting... Error: Driver 'tegra210-admaif' is already registered, aborting... The problem is that the upstream Tegra audio drivers are loaded first and then the kernel attempts to load the out-of-tree variants because they have a different name. The out-of-tree are installed under the 'updates' directory in the file-system and by dropping the 'oot' suffix from the driver name, then depmod will not attempt to load both variants of the audio drivers and prioritise loading the drivers in the 'updates' directory. Bug 4590647 Change-Id: I6c6fe1eb84bc9fdfa4a8f4abf1ce3a75f3bfba8a Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Reviewed-on: https://git-master.nvidia.com/r/c/linux-nv-oot/+/3110266 Reviewed-by: Brad Griffis <bgriffis@nvidia.com> GVS: Gerrit_Virtual_Submit <buildbot_gerritrpt@nvidia.com> Reviewed-by: Sameer Pujar <spujar@nvidia.com>