diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-09-24 11:00:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-22 14:49:20 -0700 |
commit | 839fe740753d047bf2e9ec53f2ce4fb4a57f1f30 (patch) | |
tree | e84735c14fcccd386ca9921bfa972ce48adf319e /sound/pci/hda/patch_realtek.c | |
parent | aba3953d525672ee7f6c59d340e0ad59a8838275 (diff) |
ALSA: hda/tegra - async probe for avoiding module loading deadlock
commit 83510441bc08bee201c0ded9d81da6dfd008d69a upstream.
The Tegra HD-audio controller driver causes deadlocks when loaded as a
module since the driver invokes request_module() at binding with the
codec driver. This patch works around it by deferring the probe in a
work like Intel HD-audio controller driver does. Although hovering
the codec probe stuff into udev would be a better solution, it may
cause other regressions, so let's try this band-aid fix until the more
proper solution gets landed.
Reported-by: Thierry Reding <treding@nvidia.com>
Tested-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
0 files changed, 0 insertions, 0 deletions